[tmux] fix copy-mode binding

Accidentally removed the line that binds v to enter copy-mode
This commit is contained in:
Josh Sherman 2017-05-28 10:25:27 -05:00
parent d8a9f2cdb3
commit db9c11c5f0
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -30,10 +30,11 @@ set -g status-keys vi
setw -g mode-keys vi
# Copy mode and paste
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
bind-key -t vi-copy 'y' copy-pipe "xclip -selection c > /dev/null"
bind-key 'p' run "xclip -o -sel clip | tmux load-buffer - ; tmux paste-buffer"
bind v copy-mode
bind-key -t vi-copy v begin-selection
bind-key -t vi-copy y copy-selection
bind-key -t vi-copy y copy-pipe "xclip -selection c > /dev/null"
bind-key p run "xclip -o -sel clip | tmux load-buffer - ; tmux paste-buffer"
# Mouse stuff
set -g mouse on