Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
setw -g mode-mouse copy-mode

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

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .