aboutsummaryrefslogtreecommitdiff
path: root/mac.tmux.config
diff options
context:
space:
mode:
Diffstat (limited to 'mac.tmux.config')
-rwxr-xr-xmac.tmux.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/mac.tmux.config b/mac.tmux.config
index 38f7d0f..6ef1557 100755
--- a/mac.tmux.config
+++ b/mac.tmux.config
@@ -1,7 +1,7 @@
# vim: syntax=conf
# Setup 'v' to begin selection as in Vim
-bind -T copy-mode-vi y copy-pipe "reattach-to-user-namespace pbcopy"
+bind -T copy-mode-vi y send -X copy-pipe-and-cancel "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"