Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

setw -g mode-mouse copy-mode

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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