diff dot_tmux.conf @ 768:eeaf0d561877

fix: unbind mouse drag to avoid jumping back when selecting in tmux
author zegervdv <zegervdv@me.com>
date Fri, 17 Mar 2023 10:45:19 +0000
parents f2984842d6e2
children 9f4e4087e2e7
line wrap: on
line diff
--- a/dot_tmux.conf	Wed Mar 15 18:33:26 2023 +0100
+++ b/dot_tmux.conf	Fri Mar 17 10:45:19 2023 +0000
@@ -162,3 +162,6 @@
 }
 
 bind-key -T copy-mode-vi 's' send -X copy-pipe-and-cancel "cat > /tmp/error.txt && tmux new-window -n 'quickfix' -c \"#{pane_current_path}\" 'nvim -q /tmp/error.txt && rm -f /tmp/error.txt'"
+
+# unbind after loading plugins
+unbind -T copy-mode-vi MouseDragEnd1Pane