tmux bind v to enable selection

This commit is contained in:
2025-05-31 23:01:07 +05:00
parent 1f851cbff3
commit 9c10cced8c
2 changed files with 7 additions and 1 deletions

View File

@ -10,6 +10,12 @@ bind-key - split-window -v -c "#{pane_current_path}"
set-option -ga terminal-overrides ",xterm-256color:Tc"
set-window-option -g mode-keys vi
# Use v to trigger selection
bind-key -T copy-mode-vi v send-keys -X begin-selection
# Use y to yank current selection
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U