iTerm2 keyboard shortcut - split pane navigation
From the documentation:
Cmd] and Cmd[ navigates among split panes in order of use.
there is configuration in the following way:
Preferences -> keys -> Navigation shortcuts
the 3rd option: shortcut to choose a split pane is "no shortcut" by default, we can choose one
cheers
Cmd+opt+←/↑/→/↓ navigate similarly to vim's C-w hjkl.
⌘+⌥+←/↑/→/↓ 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.