Mercurial > dotfiles
comparison 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 |
comparison
equal
deleted
inserted
replaced
767:e3937948d672 | 768:eeaf0d561877 |
---|---|
160 send -X stop-selection | 160 send -X stop-selection |
161 } | 161 } |
162 } | 162 } |
163 | 163 |
164 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'" | 164 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'" |
165 | |
166 # unbind after loading plugins | |
167 unbind -T copy-mode-vi MouseDragEnd1Pane |