Skip to content

tmux-mouse-mode

tmux has a mouse mode. Its main advantage is that it enables mouse wheel scrolling.

To activate it, press CTRL+B and then :, then type the following:

setw -g mouse on

Or just type this command into a tmux's Bash terminal:

Bash
tmux setw -g mouse on

If you want to persist this change:

Bash
echo 'setw -g mouse on' >> ~/.tmux.conf

When tmux mouse mode is on, you can hold the SHIFT key to select and copy/paste text from/to the terminal window to other applications normally (i.e. as you would do if the mouse mode was off).