tmux: Add vim bindings for copying into tmux buffer
This commit is contained in:
parent
5ef4ed3b7a
commit
bb9e575056
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue