summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-03-29 15:51:46 -0500
committerToby Vincent <tobyv13@gmail.com>2022-03-29 15:51:46 -0500
commiteea16815b501369da58a8c3886f41558022835ca (patch)
treea23d53331e86212c4de220a24a9b88141d7bf76c
parent835b994969c90a3caa40bc43fae8d71e1bfbca56 (diff)
feat: added tmux-resurrect
-rw-r--r--tmux/.config/tmux/tmux.conf10
1 files changed, 7 insertions, 3 deletions
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'