Enable C-v for toggling rectangle selection in copy mode
This commit is contained in:
parent
09fdaebbe7
commit
c3109181d6
@ -93,9 +93,9 @@ bind C-u copy-mode -u
|
||||
# Begin selection in copy mode with v not Space
|
||||
bind -T copy-mode-vi v send -X begin-selection
|
||||
bind -T copy-mode-vi V send -X select-line
|
||||
# FIXME: C-v mapping is not limited to only copy mode so it never gets through
|
||||
# to zsh/nvim etc which is not acceptable.
|
||||
# bind -T copy-mode-vi C-v send -X rectangle-toggle
|
||||
bind -n C-v if-shell -F '#{pane_in_mode}' \
|
||||
'send -X rectangle-toggle' \
|
||||
'send-keys C-v'
|
||||
# Exit copy mode with i/a
|
||||
bind -T copy-mode-vi 'i' send -X cancel
|
||||
bind -T copy-mode-vi 'a' send -X cancel
|
||||
|
Loading…
x
Reference in New Issue
Block a user