From 385005adffc899d62e0fdf4aab18e53f26877ee8 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 14 Jan 2020 20:33:56 +0000 Subject: [PATCH] Update key bindings --- tag-tmux/tmux.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tag-tmux/tmux.conf b/tag-tmux/tmux.conf index d0adcb9f..aed52c12 100644 --- a/tag-tmux/tmux.conf +++ b/tag-tmux/tmux.conf @@ -43,9 +43,9 @@ bind-key b break-pane -d setw -g mode-keys vi # Setup 'v' to begin selection as in Vim -bind-key -t vi-copy v begin-selection -bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy" +bind-key -T copy-mode-vi v begin-selection +bind-key -T copy-mode-vi y copy-pipe "reattach-to-user-namespace pbcopy" # Update default binding of `Enter` to also use copy-pipe -unbind -t vi-copy Enter -bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy" +unbind -T copy-mode-vi Enter +bind-key -T copy-mode-vi Enter copy-pipe "reattach-to-user-namespace pbcopy"