iterm - what's the key-combo to switch panes?
-
29-09-2020 - |
Question
I've learned how to split my terminal windows with apple-d and apple-shift-d. Its very useful.
How do I then switch between the two panes (see below) using the keyboard?
I know I can use the mouse but would like to know if there's a key combo to do it.
Solution
⌘+⌥+←/↑/→/↓ will let you navigate split panes in the direction of the arrow, i.e. when using ⌘+D to split panes vertically, ⌘+⌥+← and ⌘+⌥+→ will let you switch between the panes.
Note: ⌥ is the [alt] key
OTHER TIPS
Here is some useful keyboard shortcuts in iTerm:
- ⌘+left arrow, ⌘+right arrow navigates among tabs. So does ⌘-{ and ⌘-}.
- ⌘+number navigates directly to a tab.
- ⌘+⌥+Number navigates directly to a window.
- ⌘+⌥+Arrow keys navigate among split panes.
- ⌘+] and ⌘+[ navigates among split panes in order of use.
Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange