From eb2c4b8dcd932c1db423a997d60d8064242462ce Mon Sep 17 00:00:00 2001 From: Bas van den Wollenberg Date: Sat, 16 Mar 2024 21:22:20 +0100 Subject: [PATCH] Add tmux-resurrect --- tmux/.tmux.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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'" -- 2.51.2