diff options
Diffstat (limited to 'tmux')
| -rw-r--r-- | tmux/.config/tmux/options.conf | 4 | ||||
| -rw-r--r-- | tmux/.config/tmux/plugins.conf | 22 |
2 files changed, 15 insertions, 11 deletions
diff --git a/tmux/.config/tmux/options.conf b/tmux/.config/tmux/options.conf index a06803b..ac1cb84 100644 --- a/tmux/.config/tmux/options.conf +++ b/tmux/.config/tmux/options.conf @@ -9,7 +9,7 @@ set-option -g allow-rename off set-option -g mouse on # Set terminal colors -# set-option -g default-terminal "screen-256color" +set-option -g default-terminal "screen-256color" # Start windows and panes at 1, not 0 set-option -g base-index 1 @@ -24,3 +24,5 @@ set-option -g visual-silence off set-window-option -g monitor-activity off set-option -g bell-action none +# Enable hyperlinks +set-option -as terminal-features ",*:hyperlinks" diff --git a/tmux/.config/tmux/plugins.conf b/tmux/.config/tmux/plugins.conf index ee2de5e..58ca774 100644 --- a/tmux/.config/tmux/plugins.conf +++ b/tmux/.config/tmux/plugins.conf @@ -4,22 +4,24 @@ set-option -g @plugin 'tmux-plugins/tpm' # 'Sensible' set of defaults set-option -g @plugin 'tmux-plugins/tmux-sensible' +# Tmux FZF is a plugin that integrates FZF with tmux TMUX_FZF_ORDER="session|window|pane|command|keybinding" TMUX_FZF_OPTIONS="-p -w 90% -h 70% -m" set-option -g @plugin 'sainnhe/tmux-fzf' -# Persist tmux sessions across system restarts +# Resurrect is a plugin that saves and restores tmux sessions set-option -g @plugin 'tmux-plugins/tmux-resurrect' -set-option -g @plugin 'tmux-plugins/tmux-continuum' -set -g @resurrect-strategy-nvim 'session' - -# set -g @plugin 'christoomey/vim-tmux-navigator' +set-option -g @resurrect-save 'S' +set-option -g @resurrect-restore 'R' -# Save and restore session -# set -g @resurrect-save 'S' -# set -g @resurrect-restore 'R' +# Continuum is a plugin that automatically saves tmux sessions +# at regular intervals +set-option -g @plugin 'tmux-plugins/tmux-continuum' +set-option -g @continuum-restore 'on' +set-option -g @continuum-save-interval '15' +set-option -g @resurrect-strategy-nvim 'session' -# # more options here: https://github.com/sainnhe/tmux-fzf/issues/6#issuecomment-578750879 -# bind w run-shell -b "~/.config/tmux/plugins/tmux-fzf/scripts/window.sh switch" +# Vim Tmux Navigator allows you to navigate between Vim and tmux panes +set-option -g @plugin 'christoomey/vim-tmux-navigator' run '~/.tmux/plugins/tpm/tpm' |