Add tmux-open and vi bindings

This commit is contained in:
Dave Gallant
2024-08-28 21:48:32 -04:00
parent a213a323bb
commit 21cd1a8af9

View File

@@ -270,6 +270,12 @@ in {
set -g @continuum-restore 'on' set -g @continuum-restore 'on'
''; '';
} }
{
plugin = open;
extraConfig = ''
set -g @plugin 'tmux-plugins/tmux-open'
'';
}
]; ];
extraConfig = '' extraConfig = ''
set-window-option -g automatic-rename on set-window-option -g automatic-rename on
@@ -302,7 +308,12 @@ in {
set -g status-right '#(gitmux #{pane_current_path})' set -g status-right '#(gitmux #{pane_current_path})'
unbind -T copy-mode-vi MouseDragEnd1Pane #unbind -T copy-mode-vi MouseDragEnd1Pane
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send -X begin-selection
bind-key -T copy-mode-vi V send -X select-line
bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
''; '';
}; };