Can a code collaborator update: https://github.com/tmux/tmux/issues/140
Adding a link to the FAQ: https://github.com/tmux/tmux/wiki/FAQ#i-want-to-use-the-mouse-to-select-panes-but-the-terminal-to-copy-how This github issue is the first/best Google result and the issue is closed without any helpful information. Concluding that ticket with a link to the FAQ will hopefully provide others with context on why this is not possible (and would have saved me a good bit of time trying all the suggested config). On Monday, December 7, 2020 at 6:51:23 PM UTC-5 Scott Rochford wrote: > Most terminal clients allow you to invert the shift- toggle behaviour, so > if you prefer the mouse events to go to the underlying terminal most of the > time, and only use shift-click when switching tabs, then that might work > well for you. > > In putty it's under PuTTY Configuration -> Window -> Selection -> Shift > overrides application's use of mouse. In mintty it's Options -> Mouse -> > Application Mouse Mode -> Default click target / Modifier for overriding > default. > > > On Tue, 8 Dec 2020 at 02:01, Konomi <[email protected]> wrote: > >> Sigh sorry and that's disappointing I'll have to think of some other >> way to handle this. Thanks for your time. >> >> On Tue, 8 Dec 2020 at 01:53, Nicholas Marriott >> <[email protected]> wrote: >> > >> > Read the second paragraph. >> > >> > >> > >> > On Mon, 7 Dec 2020 at 14:51, Konomi <[email protected]> wrote: >> >> >> >> I did read the link you sent. I don't see how that helps telling tmux >> >> to send the mouse event to the underlying terminal? >> >> >> >> On Tue, 8 Dec 2020 at 01:50, Nicholas Marriott >> >> <[email protected]> wrote: >> >> > >> >> > Read the link I sent. >> >> > >> >> > >> >> > >> >> > On Mon, 7 Dec 2020 at 14:49, Konomi <[email protected]> wrote: >> >> >> >> >> >> I tried doing `unbind -n MouseDrag1Pane` and that stops dragging to >> select in tmux but it also prevents the underlying terminal getting the >> MouseDrag event as well. How do I make sure it sends it through to the >> underlying terminal? >> >> >> >> >> >> On Tuesday, 8 December 2020 at 12:09:21 am UTC+11 >> [email protected] wrote: >> >> >>> >> >> >>> Yes, unbind the key bindings, like MouseDrag1Pane. >> >> >>> >> >> >>> Also see >> https://github.com/tmux/tmux/wiki/FAQ#i-want-to-use-the-mouse-to-select-panes-but-the-terminal-to-copy-how >> >> >>> >> >> >>> >> >> >>> On Mon, 7 Dec 2020 at 13:07, Konomi <[email protected]> wrote: >> >> >>>> >> >> >>>> Is it possible to `set -g mouse on` but then unbind the copy and >> paste functions? I'd really like to just to be able to switch tabs with the >> mouse and nothing else. Thanks in advance. >> >> >>>> >> >> >>>> -- >> >> >>>> You received this message because you are subscribed to the >> Google Groups "tmux-users" group. >> >> >>>> To unsubscribe from this group and stop receiving emails from it, >> send an email to [email protected]. >> >> >>>> To view this discussion on the web, visit >> https://groups.google.com/d/msgid/tmux-users/965af321-fdfc-4531-b860-85c026405918n%40googlegroups.com >> . >> >> >> >> >> >> -- >> >> >> You received this message because you are subscribed to the Google >> Groups "tmux-users" group. >> >> >> To unsubscribe from this group and stop receiving emails from it, >> send an email to [email protected]. >> >> >> To view this discussion on the web, visit >> https://groups.google.com/d/msgid/tmux-users/b41c6dc9-b35b-4747-a0e9-bf481206b200n%40googlegroups.com >> . >> >> -- >> You received this message because you are subscribed to the Google Groups >> "tmux-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> > To view this discussion on the web, visit >> https://groups.google.com/d/msgid/tmux-users/CAH-77RKQkJ1Pw-cjQqopytB2YYcO8TdE%3D99Sg%2BjwPkxBo51m8w%40mail.gmail.com >> . >> > -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/5cac0408-2e68-478b-9949-bd94177ba7den%40googlegroups.com.
