Update key bindings

This commit is contained in:
Oliver Davies 2020-01-14 20:33:56 +00:00
parent e594a30091
commit 385005adff

View file

@ -43,9 +43,9 @@ bind-key b break-pane -d
setw -g mode-keys vi setw -g mode-keys vi
# Setup 'v' to begin selection as in Vim # Setup 'v' to begin selection as in Vim
bind-key -t vi-copy v begin-selection bind-key -T copy-mode-vi v begin-selection
bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy" bind-key -T copy-mode-vi y copy-pipe "reattach-to-user-namespace pbcopy"
# Update default binding of `Enter` to also use copy-pipe # Update default binding of `Enter` to also use copy-pipe
unbind -t vi-copy Enter unbind -T copy-mode-vi Enter
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy" bind-key -T copy-mode-vi Enter copy-pipe "reattach-to-user-namespace pbcopy"