diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index d3e1ab5..3de0a4f 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -1,6 +1,3 @@ -# reload config -bind r source-file "~/.tmux.conf" - # change the default shell to be non-login set -g default-command "${SHELL}" @@ -67,7 +64,11 @@ set -g @tmux-nvim-resize-keybinding-down 'M-J' set -g @tmux-nvim-resize-keybinding-up 'M-K' set -g @tmux-nvim-resize-keybinding-right 'M-L' -set-option -g @plugin 'b0o/tmux-autoreload' +set -g @plugin 'b0o/tmux-autoreload' + +set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @resurrect-capture-pane-contents 'on' +set -g @resurrect-processes 'ssh' if "test ! -d ~/.tmux/plugins/tpm" \ "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"