Move copy-mode-vi bindkeys to local configuration.

This commit is contained in:
Jeremy Gardais 2017-08-04 14:10:33 +02:00
parent a812e8fc2b
commit d8542c9c75
2 changed files with 4 additions and 2 deletions

View File

@ -94,8 +94,6 @@ bind-key C-v run "tmux set-buffer -- \"$(xclip -o -selection clipboard)\"; tmux
unbind PPage unbind PPage
bind PPage copy-mode bind PPage copy-mode
bind-key ESCAPE copy-mode bind-key ESCAPE copy-mode
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
# Paste buffer # Paste buffer
unbind P unbind P

View File

@ -67,4 +67,8 @@ unbind C-b
set -g prefix C-a set -g prefix C-a
bind a send-prefix bind a send-prefix
# Copy-mode
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
### }}} ### }}}