feat: vi-copy mode now consistent with vim: use 'v' for select mode and 'y' to copy
parent
9a8ddc42d5
commit
84a69f8638
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue