tmux bind v to enable selection
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user