Don't exit copy-mode on yank with y

This commit is contained in:
Kenneth Benzie 2022-01-07 13:10:04 +00:00
parent 2a1453a061
commit 32d0935e1c

View File

@ -112,9 +112,9 @@ bind -n WheelDownPane \
# Yank to the system clipboard in copy mode # Yank to the system clipboard in copy mode
if -b '[ "`uname`" = "Darwin" ]' \ 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"' \ "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"' "xclip -i -sel p -f | xclip -i -sel c"'
# Left status style # Left status style