Correct vi-mode syntax

See https://sanctum.geek.nz/arabesque/vi-mode-in-tmux/
This commit is contained in:
Jeremy Gardais 2017-06-27 22:39:36 +02:00
parent 47ac7cd5e6
commit b70c0cdbe4
1 changed files with 2 additions and 2 deletions

View File

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