tmux: Add vim bindings for copying into tmux buffer

This commit is contained in:
Sanchayan Maity 2020-10-10 17:44:22 +05:30
parent 5ef4ed3b7a
commit bb9e575056

View file

@ -78,6 +78,11 @@ bind 7 select-pane -t 7
bind 8 select-pane -t 8 bind 8 select-pane -t 8
bind 9 select-pane -t 9 bind 9 select-pane -t 9
bind P paste-buffer
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
# set default terminal mode to 256 colors # set default terminal mode to 256 colors
# set -g default-terminal "screen-256color" # set -g default-terminal "screen-256color"
# set default terminal mode to 256 colors # set default terminal mode to 256 colors