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.
Related videos on Youtube
Author by
MLister
Updated on September 18, 2022Comments
-
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 usingCtl+b o
(that is,Control
andb
together, followed by ano
?) 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 about 2 yearsCtl+b doesn't invoke tmux commands in iterm2, at least not mine.
-
chepner about 2 yearsControl-b is the default prefix in
tmux
, unless you change it in your configuration. I don't know exactly how iTerm 2'stmux
integration works, having never really felt better than just usingtmux
directly.