Go to file
Bruno Sutic 1e945c2cac
Enable selectively restoring processes
- user can restore all processes with ':all:'
- user can selectively restore wanted processes

Closes #13
2014-08-27 16:19:36 +02:00
scripts Enable selectively restoring processes 2014-08-27 16:19:36 +02:00
CHANGELOG.md Enable selectively restoring processes 2014-08-27 16:19:36 +02:00
LICENSE.md Initial commit 2014-08-25 21:52:07 +02:00
README.md Restore all pane processes 2014-08-27 00:28:35 +02:00
session_saver.tmux Create plugin start script 2014-08-26 12:23:58 +02:00

Tmux Session Saver

Enables saving and restoring of tmux sessions.

Requirements / dependencies:

  • tmux 1.9 or higher
  • pgrep

Key bindings

  • prefix + M-s - save
  • prefix + M-r - restore

Add plugin to the list of TPM plugins in .tmux.conf:

set -g @tpm_plugins "              \
  tmux-plugins/tpm                 \
  tmux-plugins/tmux-session-saver  \
"

Hit prefix + I to fetch the plugin and source it. You should now be able to use the plugin.

Manual Installation

Clone the repo:

$ git clone https://github.com/tmux-plugins/tmux-session-saver ~/clone/path

Add this line to the bottom of .tmux.conf:

run-shell ~/clone/path/session_saver.tmux

Reload TMUX environment:

# type this in terminal
$ tmux source-file ~/.tmux.conf

You should now be able to use the plugin.

License

MIT