From 19772bccbb46a9874ac9f8c8576453f087a5a8cc Mon Sep 17 00:00:00 2001 From: Josh Patra <30350506+SoPat712@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:09:04 -0400 Subject: [PATCH] tmux resurrect --- tmux/.tmux.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index a745cfc..977c035 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -87,6 +87,7 @@ set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'dracula/tmux' set -g @plugin 'tmux-plugins/tmux-yank' +set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @dracula-refresh-rate 1 set -g @dracula-show-powerline true @@ -94,6 +95,15 @@ set -g @dracula-plugins "git battery time date" set -g @dracula-show-location false set -g @dracula-show-flags true set -g @dracula-show-left-icon session + +#show -g default-command for vim +set -g @resurrect-strategy-vim 'session' +# for neovim +set -g @resurrect-strategy-nvim 'session' +set -g @resurrect-capture-pane-contents 'on' +set -g default-command "reattach-to-user-namespace -l $SHELL" + + set -g status-position top # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)