add visual and yank to vi copy mode
This commit is contained in:
parent
e096ba3476
commit
657c54c39c
|
|
@ -12,6 +12,8 @@ bind s choose-tree -sZ -O name
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
bind / copy-mode \; send-key /
|
bind / copy-mode \; send-key /
|
||||||
bind ? copy-mode \; send-key ?
|
bind ? copy-mode \; send-key ?
|
||||||
|
bind -Tcopy-mode-vi 'v' send -X begin-selection
|
||||||
|
bind -Tcopy-mode-vi 'y' send -X copy-pipe-and-cancel pbcopy
|
||||||
|
|
||||||
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
|
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user