Re:A minimalist guide to tmux
by girishso on Saturday November 25, 2017 @02:26PM
(#15777485)
if only tmux could scroll through the screen using mouse. Keyboard scrolling is a big no for me.
[ Parent
| on HN ]
Re:A minimalist guide to tmux
by TechHermit on Saturday November 25, 2017 @02:31PM
(#15777513)
`set -g mouse on` should be all that's necessary to enable mouse-wheel scrolling for tmux version 2.1 and up. This works for me.
https://superuser.com/questions/209437/how-do-i-scroll-in-tm...
Re:A minimalist guide to tmux
by supermdguy on Saturday November 25, 2017 @03:46PM
(#15777891)
Wow, thanks! I've been using tmux for about a month now to connect to my server, and I never knew this was possible.
Just to add a note that I updated recently and the mousewheel scrolling behaviour stopped and sent up/down terminal history commands instead. If this happens, there is a thread on the tmux github issues with some workarounds.
Iām pretty new to using tmux as more than a basic screen replacement, but it seems flexible enough that almost anything you want can be configured.
If you're on macOS, iTerm2 has support for using control mode in tmux so the tabs/panels are real tabs and panels and can be scrolled normally. I don't know if any alternatives exist for Linux/Windows.
Re:A minimalist guide to tmux
by erezyehuda on Saturday November 25, 2017 @02:31PM
(#15777512)
Pretty sure C-b,[ will do that.
Re:A minimalist guide to tmux
by rhinoceraptor on Saturday November 25, 2017 @02:55PM
(#15777653)
set -g mouse on will do that. And it is smart enough to know if you're using an interactive program such as vim, it will let vim scroll.