No, terminal mouse support does not allow this.

-------- Original message --------
From: Timothee Cour <timothee.cour2+t...@gmail.com> 
Date: 20/02/2014  07:26  (GMT+00:00) 
To: tmux-users@lists.sourceforge.net 
Subject: allow ALT+mouse to control tmux to avoid overloading mouse 
 
Many people complain about the all or nothing behavior of tmux mouse mode, as 
it interferes with the usual mouse operations (eg see workarounds [1])

The workarounds are not good (eg, require to get in and out of mouse mode etc)

Can we have an option to enable this:
* when user holds ALT button and uses mouse (mouse wheel or clicking) it 
forwards behavior to tmux
* when user doesn't hold ALT button, mouse behaves as default.

Use case:
on OSX, copy paste with mouse requires to either temporarily disable mouse mode 
(see [1]) or to hold ALT to get that behavior. However that doesn't make much 
sense (if I only want tmux mouse mode for scrolling but not override for copy 
paste it's not possible), and also it makes it impossible AFAIK to use iterm's 
nifty 'semantic history' feature (allowing COMMAND+click on a piece of text to 
perform user-defined action, such as opening a file etc).

[1] 
http://stackoverflow.com/questions/17445100/getting-back-old-copy-paste-behaviour-in-tmux-with-mouse


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to