3 ms·
if only tmux could scroll through the screen using mouse. Keyboard scrolling is a big no for me.
by girishso 9y ago
if only tmux could scroll through the screen using mouse. Keyboard scrolling is a big no for me.
- erezyehuda 9y agoPretty sure C-b,[ will do that.
- TechHermit 9y ago`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-tmux https://superuser.com/questions/209437/how-do-i-scroll-in-tm...
- supermdguy 9y agoWow, thanks! I've been using tmux for about a month now to connect to my server, and I never knew this was possible.
- misnome 9y agoJust 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.
- rhinoceraptor 9y agoset -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.
- tempay 9y agoIf 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. https://gitlab.com/gnachman/iterm2/wikis/TmuxIntegration https://gitlab.com/gnachman/iterm2/wikis/TmuxIntegration