From 32d0935e1c75c8a25f011c90ebe241654277042b Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Fri, 7 Jan 2022 13:10:04 +0000 Subject: [PATCH] Don't exit copy-mode on yank with y --- tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmux.conf b/tmux.conf index 1f58a87..62ec25d 100644 --- a/tmux.conf +++ b/tmux.conf @@ -112,9 +112,9 @@ bind -n WheelDownPane \ # Yank to the system clipboard in copy mode if -b '[ "`uname`" = "Darwin" ]' \ - 'bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel \ + 'bind -T copy-mode-vi y send-keys -X copy-pipe \ "reattach-to-user-namespace pbcopy"' \ - 'bind -T copy-mode-vi y send -X copy-pipe-and-cancel \ + 'bind -T copy-mode-vi y send -X copy-pipe \ "xclip -i -sel p -f | xclip -i -sel c"' # Left status style