add visual and yank to vi copy mode

This commit is contained in:
rmanseau 2023-06-29 13:01:55 -07:00
parent e096ba3476
commit 657c54c39c
No known key found for this signature in database
GPG Key ID: 060BE2D43CFAB17A

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'