Is it possible to use the mouse to navigate between different window panes which are split vertically or horizontally?
As of tmux 2.1,
you can enable this by adding it to your
set -g mouse on
Mouse-mode has been rewritten. There's now no longer options for:
Instead there is just one option: 'mouse' which turns on mouse support entirely.
mouse-select-pane option in
mouse-select-pane [on | off]
If on, tmux captures the mouse and when a window is split into multiple panes the mouse may be used to select the current pane. The mouse click is also passed through to the application as normal.
You can enable this by adding it to your
set -g mouse-select-pane on
For those who are newbie with tmux, here all the steps to do:
Step 1: Start tmux in your terminal.
Step 2: Enter tmux's command mode by pressing
Ctrl+b followed by
Step 3: Type the following command and press Enter to enable mouse support:
setw -g mouse on
Step 4: You can now use the mouse to click on a window pane to switch to it or click and drag on pane borders to resize them.