Tmux-resurrect
lastmod 2024-06-18created 2024-06-182 edits
Persists tmux environment across system restarts.
Install
Install with tpm.
Changing key bindings
vim support
Requires a Session.vim file created with vim-obsession.
Hooks
- @resurrect-hook-post-save-layout
- Called after all sessions, panes and windows have been saved.
- Passed single argument of the state file.
- @resurrect-hook-post-save-all
- Called at end of save process right before the spinner is turned off.
- @resurrect-hook-pre-restore-all
- Called before any tmux state is altered.
- @resurrect-hook-pre-restore-pane-processes
- Called before running processes are restored.
Key bindings
- prefix + Ctrl-s - save
- prefix + Ctrl-r - restore