update select/paste mode

This commit is contained in:
Simon Bruder 2018-05-05 13:35:07 +00:00
parent 34cfc4fd46
commit 1e905e922b
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -15,14 +15,14 @@ bind | split-window -h
unbind -
bind - split-window -v
# more ergnomic window and pane numbers
# more ergnomic window numbers
set -g base-index 1
setw -g pane-base-index 1
# vim bindings in copy mode
bind-key -T copy-mode-vi v send -X begin-selection
bind-key -T copy-mode-vi y send -X copy-selection
bind-key -T copy-mode-vi p send -X paste-buffer
# HOWTO: PREFIX+[, v, select text, y, PREFIX+]
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
# enable mouse
set -g mouse on