A partir do tmux 2.1 ,
você pode ativar isso adicionando-o ao seu .tmux.conf
:
set -g mouse on
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 entirely.
Veja a opção mouse-select-pane
em man tmux
:
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.
Você pode ativar isso adicionando-o ao seu .tmux.conf
:
set -g mouse-select-pane on