Reputation: 63
Tmux uses the scroll to find the history commands which bothers me too much. How to disable this function? I have tried to use "set mouse on", but it gives me another problem. I just want to disable my mouse all the time, with the scroll leaves its original usage.
Upvotes: 6
Views: 5530
Reputation: 61
If you are using iterm2 or similar terminal, just uncheck the following functionality.
Scroll wheel sends arrow keys when in alternate screen mode
.
Upvotes: 0
Reputation: 11425
Tmux no longer has multiple options for mouse mode, there is just mouse
on or off (assuming a recent version of tmux).
If you want to use the mouse, including the scroll wheel, for anything except scrolling history, mouse mode must be on (set -g mouse on
). Turning on the mouse should not prevent you from not using your mouse to accomplish things; the default tmux key functionality remains.
Upvotes: 5