Scroll shell output with mouse in tmux
Problem
Mouse scrolling doesn't work in tmux the way it works when I run shell without tmux (in Gnome Terminal). It seems tmux sends mouse scroll events as if I pressed Up/Down keys. But I want it to scroll though the shell output history. Is there a way to make tmux work like this? Note: I know how to scroll with the keyboard (thanks to another question here). I tried mouse scrolling in two versions of tmux: 0.8-5hardy1 (on Ubuntu 8.04 (Hardy Heron)) 1.3-1 (on Ubuntu 10.10 (Maverick Meerkat))
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: Scroll shell output with mouse in tmux
To scroll within history of the output You would use + You can then use M+V to page up and ^V to page down. I don't know if You can use the real PgUp and PgDown though. My terminal does not send these keys to the tmux. Instead it scrolls itself and not the tmux history. To exit the copy mode, press ESC To use your mouse in this mode (called copy mode) press + and enter following: Note: In tmux < 2.1, the option was named , and not Now when You change to the copy mode you can use your mouse to sā¦
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix