5

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?

2 Answers 2

2

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

0
-1

You can see a list of all your bindings using Ctl+b ?. You're looking for the following line:

bind-key          o select-pane -t :.+

although it sounds as if you may have a key other than 'o' bound to it.

2
  • Ctl+b doesn't invoke tmux commands in iterm2, at least not mine.
    – Sigfried
    Mar 2, 2022 at 10:03
  • 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.
    – chepner
    Mar 2, 2022 at 14:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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