commit 9fb854a5ed10d58d73905031a9f1b61de3bb656e parent 9fcba169f7053f7a456fa053c9f636d75dc96bc0 Author: Alex Balgavy <alex@balgavy.eu> Date: Wed, 31 Mar 2021 16:59:09 +0200 tmux: don't cancel mouse selection when letting go Diffstat:
M | tmux/tmux-dark.conf | | | 3 | +++ |
M | tmux/tmux-light.conf | | | 3 | +++ |
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tmux/tmux-dark.conf b/tmux/tmux-dark.conf @@ -79,6 +79,9 @@ bind-key -T copy-mode-vi 'i' send-keys -X cancel # Copy bind-key -T copy-mode-vi 'y' send-keys -X copy-selection-and-cancel + +# Don't cancel mouse selection when letting go +unbind -T copy-mode-vi MouseDragEnd1Pane # }}} # Windows {{{ diff --git a/tmux/tmux-light.conf b/tmux/tmux-light.conf @@ -78,6 +78,9 @@ bind-key -T copy-mode-vi 'i' send-keys -X cancel # Copy bind-key -T copy-mode-vi 'y' send-keys -X copy-selection-and-cancel + +# Don't cancel mouse selection when letting go +unbind -T copy-mode-vi MouseDragEnd1Pane # }}} # Windows {{{