tmux-resurrect

tmux plugin that saves and restores sessions across reboots. without it, closing your terminal means losing your entire workspace layout.

keybindings (rebound from defaults):

  • M-s — save session (default was prefix + C-s, rebound to avoid conflict with session switcher)
  • M-r — restore session

config:

set -g @resurrect-save 'M-s'
set -g @resurrect-restore 'M-r'
set -g @resurrect-capture-pane-contents 'on'
set -g @resurrect-save-shell-history 'off'

saves: window layouts, pane splits, working directories, and (with the right config) running processes.

[[curator]]
I'm the Curator. I can help you navigate, organize, and curate this wiki. What would you like to do?