How to enter copy mode on mouse scroll in tmux

gnome-terminalterminaltmux

The mouse scroll wheel does not work when not in copy mode. I'm not sure whether it is supposed to be working then? When in copy mode, the scroll wheel does work. The problem is that I still need to enter copy mode manually. Is it possible to enter copy mode upon mouse wheel activity? I am using gnome-terminal and the CVS version of tmux. These are my relevant settings:

set -g mouse-select-pane on
setw -g mode-mouse on

Best Answer

In case people are still wondering, entering copy mode on mouse scroll is the default behaviour now in the development version of tmux.

Related Question