4 ms·
Sessions are the killer feature for me. I have a session for each project I work on and can have all my tabs, panes, vim, etc set up and switch between them at
by balac 10y ago
Sessions are the killer feature for me. I have a session for each project I work on and can have all my tabs, panes, vim, etc set up and switch between them at any time. Sessions can be persisted so that even if I reboot my machine all my project workspace configurations are saved and ready to go.
- jdormit 10y agoHow do you persist sessions between reboots?
- bigtunacan 10y agoThe session doesn't actually persist between boots. I think what the parent must be referring to is the ability to create tmux session configurations. Then after a reboot if you try to connect to the session which no longer exists the conf will spin it up for you.
- jdormit 10y agoGotcha. I'll have to look up some docs on that, sounds useful.
- balac 10y agoYeah, I use https://github.com/tmux-plugins/tmux-continuum https://github.com/tmux-plugins/tmux-continuum to auto save sessions, and https://github.com/tmux-plugins/tmux-resurrect https://github.com/tmux-plugins/tmux-resurrect to restore them when tmux is started.
- ethagnawl 10y agoI haven't used it, but there's a plugin which allows for this behavior: https://github.com/tmux-plugins/tmux-resurrect https://github.com/tmux-plugins/tmux-resurrect