From eea16815b501369da58a8c3886f41558022835ca Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Tue, 29 Mar 2022 15:51:46 -0500 Subject: feat: added tmux-resurrect --- tmux/.config/tmux/tmux.conf | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'tmux') diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index 7af5105..604d2e3 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -11,8 +11,12 @@ set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'tmux-plugins/tmux-pain-control' +set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'tmux-plugins/tmux-continuum' -if "test ! -d ~/.tmux/plugins/tpm" \ - "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'" +set -g @resurrect-strategy-nvim 'session' -run '~/.tmux/plugins/tpm/tpm' +if "test ! -d $XDG_CONFIG_HOME/tmux/plugins/tpm" \ + "run 'git clone https://github.com/tmux-plugins/tpm $XDG_CONFIG_HOME/tmux/plugins/tpm && $XDG_CONFIG_HOME/tmux/plugins/tpm/bin/install_plugins'" + +run '$XDG_CONFIG_HOME/tmux/plugins/tpm/tpm' -- cgit v1.2.3-70-g09d2