Update vi-copy commands
This commit is contained in:
parent
8cd7957e2c
commit
f55b955d5c
|
@ -39,9 +39,9 @@ bind-key b break-pane -d
|
|||
setw -g mode-keys vi
|
||||
|
||||
# Setup 'v' to begin selection as in Vim
|
||||
bind-key -T copy-mode-vi v begin-selection
|
||||
bind-key -T copy-mode-vi y copy-pipe "reattach-to-user-namespace pbcopy"
|
||||
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
||||
bind-key -T copy-mode-vi 'y' send -X copy-pipe "reattach-to-user-namespace pbcopy"
|
||||
|
||||
# Update default binding of `Enter` to also use copy-pipe
|
||||
unbind -T copy-mode-vi Enter
|
||||
bind-key -T copy-mode-vi Enter copy-pipe "reattach-to-user-namespace pbcopy"
|
||||
bind-key -T copy-mode-vi 'Enter' send -X copy-pipe "reattach-to-user-namespace pbcopy"
|
||||
|
|
Loading…
Reference in a new issue