Keyboard shortcut for switching panes in tmux in iTerm2 on OS X

7,365

Cmd + Opt + Up or Down or Left or Right works for me.

Share:
7,365

Related videos on Youtube

MLister
Author by

MLister

Updated on September 18, 2022

Comments

  • MLister
    MLister over 1 year

    I have tmux installed with iTerm2 on OS X.

    While I can do Cmd+left/right to switch between tabs, I cannot seem to be able to switch between panes under the same tab using Ctl+b o (that is, Control and b together, followed by an o?) as suggested by others.

    I don't think I've touched any default key binding for tmux, so what is the correct keyboard shortcut for this operation?

  • Sigfried
    Sigfried about 2 years
    Ctl+b doesn't invoke tmux commands in iterm2, at least not mine.
  • chepner
    chepner about 2 years
    Control-b is the default prefix in tmux, unless you change it in your configuration. I don't know exactly how iTerm 2's tmux integration works, having never really felt better than just using tmux directly.