diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-03-19 23:48:18 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-03-19 23:54:15 +0100 |
commit | fd1424e06d3f2c93ba94c343c462dae0865eed25 (patch) | |
tree | fdd2c6c28b6d1e3a7320c9caf858ca6d043f2925 /dotfiles/tmux.conf | |
parent | Dotfiles: Nvim: Install nvim-test (diff) | |
download | nixos-config-fd1424e06d3f2c93ba94c343c462dae0865eed25.tar.gz nixos-config-fd1424e06d3f2c93ba94c343c462dae0865eed25.tar.bz2 nixos-config-fd1424e06d3f2c93ba94c343c462dae0865eed25.zip |
Dotfiles: Tmux: Add tmux resurrect
Diffstat (limited to 'dotfiles/tmux.conf')
-rw-r--r-- | dotfiles/tmux.conf | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/dotfiles/tmux.conf b/dotfiles/tmux.conf index d27c835..ac3c048 100644 --- a/dotfiles/tmux.conf +++ b/dotfiles/tmux.conf @@ -1,6 +1,8 @@ set-option -sa terminal-overrides ",xterm*:Tc" set -g mouse on +set -g default-command "zsh" + unbind C-b set -g prefix C-Space bind C-Space send-prefix @@ -31,16 +33,6 @@ bind -n S-Right next-window bind -n M-H previous-window bind -n M-L next-window -set -g @catppuccin_flavour 'mocha' - -set -g @plugin 'tmux-plugins/tpm' -set -g @plugin 'tmux-plugins/tmux-sensible' -set -g @plugin 'christoomey/vim-tmux-navigator' -set -g @plugin 'dreamsofcode-io/catppuccin-tmux' -set -g @plugin 'tmux-plugins/tmux-yank' - -run '~/.tmux/plugins/tpm/tpm' - # set vi-mode set-window-option -g mode-keys vi # keybindings @@ -50,3 +42,17 @@ 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}" + +set -g @catppuccin_flavour 'mocha' +set -g @continuum-restore 'on' +set -g @continuum-save-interval 4 + +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'christoomey/vim-tmux-navigator' +set -g @plugin 'dreamsofcode-io/catppuccin-tmux' +set -g @plugin 'tmux-plugins/tmux-yank' +set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'tmux-plugins/tmux-continuum' + +run '~/.tmux/plugins/tpm/tpm' |