add visual and yank to vi copy mode

This commit is contained in:
rmanseau committed 2023-06-29 13:01:55 -07:00
1 parent e096ba3476
commit 657c54c39c
1 file changed
+2
+2
View File
@@ -12,6 +12,8 @@ bind s choose-tree -sZ -O name
setw -g mode-keys vi
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'