Option to disable copy-on-select when mouse_capture is enabled #993
voidwarriorchan
started this conversation in
Ideas
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
(Reposting from #992 as a discussion, per the contributing guidelines.)
Problem
With
ui.mouse_capture = true, finishing a mouse drag-selection in a pane always writes the selection to the system clipboard. There is no way to select text (e.g. just to highlight or visually mark something) without clobbering the current clipboard contents.Proposal
Add a config option such as:
When disabled, drag-selection would still highlight text, but copying would require an explicit action (double-click token copy, copy mode
y, or a context-menu/keybinding copy).Default
truekeeps the current tmux-style behavior.Environment
All reactions