diff options
Diffstat (limited to 'dotfiles/tmux.conf')
| -rw-r--r-- | dotfiles/tmux.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dotfiles/tmux.conf b/dotfiles/tmux.conf index 2367de6..7d6b702 100644 --- a/dotfiles/tmux.conf +++ b/dotfiles/tmux.conf @@ -43,6 +43,11 @@ bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel bind '"' split-window -v -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" +resurrect_dir="$HOME/.tmux/resurrect" +set -g @resurrect-dir $resurrect_dir +set -g @resurrect-hook-post-save-all 'target=$(readlink -f $resurrect_dir/last); sed "s| --cmd .*-vim-pack-dir||g; s|/etc/profiles/per-user/$USER/bin/||g" $target | sponge $target' +set -g @resurrect-capture-pane-contents 'on' +set -g @resurrect-strategy-nvim 'session' set -g @catppuccin_flavour 'mocha' set -g @continuum-restore 'on' set -g @continuum-save-interval 4 |