7

I have decided to try tmux as GNU screen replacement and wonder if there is a way to scroll with mouse as in xterm?

It is possible to enable native xterm scrolling with Shift + PageUp in tmux by

set -g terminal-overrides 'xterm*:smcup@:rmcup@'

But this does not work for mouse. I have option

setw -g mouse-mode on

in my tmux.conf, but this leads to tmux copy mode. With

setw -g mouse-mode off

mouse scroll doesn't work at all.

Is it possible to enable native xterm mouse scrolling while in tmux?

1 Answer 1

2
setw -g mode-mouse copy-mode

You still have to enter copy-mode with Shift + PageUp

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.