I have put

set -g mouse on 
set -g mouse-select-pane on

in my .tmux.conf file and then I open tmux and create a new pane and I cant switch pane with mouse. is there something else I need to configure? I am using tmux 2.9 on Mac using zsh.

  • you may look at other parameters like Mouse-mode has been rewritten. There's now no longer options for: - mouse-resize-pane - mouse-select-pane - mouse-select-window - mode-mouse etc but it should have work with set -g mouse on only I guess – francois P May 2 at 15:56
  • I have the same issue. I suspect it's a bug with mac. – jordanm May 2 at 17:16
  • I have no insight into this issue. However, it might be beneficial to also add to your question what terminal program you are using; gnome-terminal, rxvt, etc. It's great that you indicated the tmux version, the hardware, and the shell. (With 'Mac', I assume you are running OS X/Mac OS...if not, that info is important too.) I don't know that it would matter, but I presume it could be helpful if this is an issue between the human-input-device all the way down to the tmux process. – 0xSheepdog May 2 at 18:28
  • Are you using Terminal.app? I don't think it supports the mouse? Does it work with other applications, or in another terminal? – Nicholas Marriott May 2 at 21:37
  • Check my answer in unix.stackexchange.com/questions/318281/… – GMaster Sep 10 at 4:03

To obtain the default behavior, which is equal as UP and DOWN keyboard arrows, use:

echo "set -g terminal-overrides 'xterm*:smcup@:rmcup@'" >> ~/.tmux.conf && tmux kill-server && tmux

I had the same issue. It was fixed after I did the following: - exit tmux - enter "tmux kill-server" - enter tmux again

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.