mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-05 02:18:49 +00:00
cbf58ac613
Close #3
960 B
960 B
Tmux Session Saver
Enables saving and restoring of tmux sessions.
Requirements / dependencies:
tmux 1.9
or higherpgrep
Key bindings
prefix + M-s
- saveprefix + M-r
- restore
Installation with Tmux Plugin Manager (recommended)
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.