Created
December 24, 2025 15:31
-
-
Save zeroxia/a318bf9c36b09d27e10f2debd520e0c2 to your computer and use it in GitHub Desktop.
tmux configuration to prevent from quitting copy mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #bind -T copy-mode MouseDragEnd1Pane send-keys -X copy-selection-no-clear | |
| #bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-selection-no-clear | |
| bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-no-clear | |
| bind-key -T copy-mode-vi DoubleClick1Pane select-pane \; send-keys -X select-word \; run-shell -d 0.3 \; send-keys -X copy-pipe-no-clear | |
| bind-key -T copy-mode-vi TripleClick1Pane select-pane \; send-keys -X select-line \; run-shell -d 0.3 \; send-keys -X copy-pipe-no-clear |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Alternative