from what I understand
set -g mouse-select-window on
Should allow me to click on a window in the status bar and go to that window. I put that in my tmux.conf file though and nothing happens when I click on a window. What am I doing wrong?
In my .tmux.conf I have the following:
set -g mode-mouse on
set -g mouse-select-window on
set -g mouse-select-pane on
Do you have the mode-mouse on
setting?
On 2.1 this config got deprecated and the new option to allow all mouse support is:
set -g mouse on
This break the nice mouse scroll support, but can be enabled with this:
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With