feat: vi-copy mode now consistent with vim: use 'v' for select mode and 'y' to copy

std
Hung 2023-06-03 20:23:42 -07:00
parent 9a8ddc42d5
commit 84a69f8638
1 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,11 @@ set-option -g renumber-windows on
# set -g status-left " " # set -g status-left " "
# Keybinds # Keybinds
# Enter copy mode with 'v' in vi mode
bind-key -Tcopy-mode-vi v send-keys -X begin-selection
# Copy selection with 'y' in vi mode
bind-key -Tcopy-mode-vi y send-keys -X copy-selection-and-cancel
set-window-option -g mode-keys vi set-window-option -g mode-keys vi
# # Log # # Log