I recently wrote a small plugin when copying with the mouse
the problem it solves is word/line copy on double/triple click: the selection doesn't have a fixed timeout (default behavior) and stops when you release the mouse, and works also if you don't move the mouse (select a single word and release - without this plugin and a simple hook rebinding you would remain in copy mode with the word still selected, and have to press escape or another key to exit copy mode)
I find it pretty useful, a minor thing but it really bothered me, if you can add it it will probably be useful also for others.
if you want a more brief description maybe something like "word/line copy on double/triple click without fixed timeout and without remaining stuck in copy mode"
thank you!
Originally created by @aless3 on GitHub (Jan 3, 2025).
Original GitHub issue: https://github.com/rothgar/awesome-tmux/issues/135
I recently wrote a small plugin when copying with the mouse
the problem it solves is word/line copy on double/triple click: the selection doesn't have a fixed timeout (default behavior) and stops when you release the mouse, and works also if you don't move the mouse (select a single word and release - without this plugin and a simple hook rebinding you would remain in copy mode with the word still selected, and have to press escape or another key to exit copy mode)
link: https://github.com/aless3/tmux-click-copy
I find it pretty useful, a minor thing but it really bothered me, if you can add it it will probably be useful also for others.
if you want a more brief description maybe something like "word/line copy on double/triple click without fixed timeout and without remaining stuck in copy mode"
thank you!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @aless3 on GitHub (Jan 3, 2025).
Original GitHub issue: https://github.com/rothgar/awesome-tmux/issues/135
I recently wrote a small plugin when copying with the mouse
the problem it solves is word/line copy on double/triple click: the selection doesn't have a fixed timeout (default behavior) and stops when you release the mouse, and works also if you don't move the mouse (select a single word and release - without this plugin and a simple hook rebinding you would remain in copy mode with the word still selected, and have to press escape or another key to exit copy mode)
link: https://github.com/aless3/tmux-click-copy
I find it pretty useful, a minor thing but it really bothered me, if you can add it it will probably be useful also for others.
if you want a more brief description maybe something like "word/line copy on double/triple click without fixed timeout and without remaining stuck in copy mode"
thank you!
@rothgar commented on GitHub (Jan 5, 2025):
Can you add this as a PR please?
@aless3 commented on GitHub (Jan 6, 2025):
done: #137
[GH-ISSUE #135] add tmux-click-copyto [GH-ISSUE #135] add tmux-click-copy