scrollubuntu-11.10tmux

mouse wheel isn't scrolling in tmux


It scrolls ok in vim but not in tmux.

I followed suggestions like adding

set -g history-limit 1000
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
setw -g mode-mouse on
set-window-option -g mode-mouse on

to .tmux.conf but none of them helped

All I get, regardless of the above is history command scrolling.


Solution

  • Correct command is:

    set -g mode-mouse on
    

    You can also add it to your ~/.tmux.conf