Discussion:
Tmux mode-mouse - Unable to select text, it de-selects as soon as you let go of the mouse
Victor Hooi
2014-12-02 02:52:56 UTC
Permalink
Hi,

I've recently found the tmux mode-mouse, which is pretty cool.

On my OSX machine, this allows me to use scroll gestures to read back
through the scrollback buffer.

It's much easier than using Ctrl-B, [, then using the arrow keys to go back
line by line.

However, I've noticed that when mode-mouse is enabled, copy-paste no longer
seem to work. As in, if I try to select some text with the mouse, as soon
as I let go, it de-selects that text:

I've read through the following links:

http://stackoverflow.com/questions/17445100/getting-back-old-copy-paste-behaviour-in-tmux-with-mouse
https://awhan.wordpress.com/2012/04/18/tmux-copy-paste-with-mouse/
http://tangledhelix.com/blog/2012/07/16/tmux-and-mouse-mode/
http://sourceforge.net/p/tmux/tickets/17/

I'd like to clarify - the behaviour in mode-mouse where you are unable to
select text (i.e. it de-selects it as soon as you let go of the mouse) - is
that normal intended behaviour?

Is there any way at all to select text with mode-mouse on for copying?

Thanks,
Victor
c***@free.fr
2014-12-07 13:29:43 UTC
Permalink
Hi everyone,
I'm using "bind-key -n F11 prev" and "bind-key -n F12 next" becoz "I" find it more conveniente to switch windows and it works fine.
But when adding a modifier to the hotkey like in "bind-key -n C-F12 switch-client -n" it just doesn't work though the command is OK
(tested with other commands or just C-B : and cmd)...

... any hints ?
not emplemented, a bug, life is biutifool...?

thank you all in advance,

zui!
20141207
Nicholas Marriott
2014-12-07 21:55:46 UTC
Permalink
Hi

What terminal are you using?
Post by c***@free.fr
Hi everyone,
I'm using "bind-key -n F11 prev" and "bind-key -n F12 next" becoz "I" find it more conveniente to switch windows and it works fine.
But when adding a modifier to the hotkey like in "bind-key -n C-F12 switch-client -n" it just doesn't work though the command is OK
(tested with other commands or just C-B : and cmd)...
... any hints ?
not emplemented, a bug, life is biutifool...?
thank you all in advance,
zui!
20141207
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
Nicholas Marriott
2014-12-15 09:28:54 UTC
Permalink
tmux's built-in selection copies on release, it's meant to work like that.

If the terminal's selection (usually you can get it with mode-mouse on
by holding down shift) has changed behaviour, it's a problem with the
terminal not tmux.
Post by Victor Hooi
Hi,
I've recently found the tmux mode-mouse, which is pretty cool.
On my OSX machine, this allows me to use scroll gestures to read back
through the scrollback buffer.
It's much easier than using Ctrl-B, [, then using the arrow keys to go
back line by line.
However, I've noticed that when mode-mouse is enabled, copy-paste no
longer seem to work. As in, if I try to select some text with the mouse,
[1]http://stackoverflow.com/questions/17445100/getting-back-old-copy-paste-behaviour-in-tmux-with-mouse
[2]https://awhan.wordpress.com/2012/04/18/tmux-copy-paste-with-mouse/
[3]http://tangledhelix.com/blog/2012/07/16/tmux-and-mouse-mode/
[4]http://sourceforge.net/p/tmux/tickets/17/
I'd like to clarify - the behaviour in mode-mouse where you are unable to
select text (i.e. it de-selects it as soon as you let go of the mouse) -
is that normal intended behaviour?
Is there any way at all to select text with mode-mouse on for copying?
Thanks,
Victor
References
Visible links
1. http://stackoverflow.com/questions/17445100/getting-back-old-copy-paste-behaviour-in-tmux-with-mouse
2. https://awhan.wordpress.com/2012/04/18/tmux-copy-paste-with-mouse/
3. http://tangledhelix.com/blog/2012/07/16/tmux-and-mouse-mode/
4. http://sourceforge.net/p/tmux/tickets/17/
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
Loading...