Tmux set -g mouse-mode on doesn’t work

tmux

I've been looking around and people say that putting

set -g mouse-mode on

should let you scroll through the terminal output when running tmux. However, after both putting this in my ~/.tmux.conf file and saying tmux set -g mouse-mode on when in a tmux session, nothing changes. When I scroll I still get outside of tmux like scrolling in vim with default settings.

Anyone know why this is?

Best Answer

So this option has been renamed in version 2.1 (18 October 2015)

From the changelog:

 Mouse-mode has been rewritten.  There's now no longer options for:
    - mouse-resize-pane
    - mouse-select-pane
    - mouse-select-window
    - mode-mouse

  Instead there is just one option:  'mouse' which turns on mouse support

So this is what I'm using now in my .tmux.conf file

set -g mouse on
Related Topic