2 ms·
This is what I use with Tmux: https://github.com/sorin-ionescu/prezto/blob/master/modules/tmux/init.zsh https://github.com/sorin-ionescu/prezto/blob/master/modu
by Makkhdyn 13y ago
This is what I use with Tmux: https://github.com/sorin-ionescu/prezto/blob/master/modules/tmux/init.zsh https://github.com/sorin-ionescu/prezto/blob/master/modules/...
Basically a daemon session is started (if it wasn't there before) and every terminal you open automatically connects to that session.
This means that you can close every terminal, the session is still open and new terminals will use the already existing session. As long as tmux itself isn't stopped (reboot, etc.) you'll stay in the same session.
Which is cool because everything is de facto detached.
- spolu 13y agoThat's a pretty cool setup. These slides have been prepared for a 4mn lightning talk so I had to keep things simple and short enough! Anyway, I really like your setup. I'm thinking these days about writing my own terminal multiplexer just for fun using node.js. I already have the VT emulation part ready so there's no that much work left to do. Do you have any feature you don't have in tmux that you would love to see in a terminal multiplexer or is tmux just right for you?
- spolu 13y agoBTW if someone is interested by a reusable VT emulation library in javascript: https://github.com/spolu/vt.js https://github.com/spolu/vt.js