iTerm2
iterm2 MacOs Keyboard Shortcuts
TECH
4/16/20241 min read
Splitting Horizontally
Press Command + D or navigate to the "Shell" menu and select "Split Horizontally" to create a new pane below the current one.
Splitting Vertically
Press Command + Shift + D or go to the "Shell" menu and choose "Split Vertically" to create a new pane beside the current one.
Broadcasting Commands Across Panes
Type your desired command and press Command + Shift + I.
Switching between Panes:
Cmd + ]: Switch focus to the next pane in the current window or tab.
Cmd + [: Switch focus to the previous pane in the current window or tab.
Maximizing a Pane:
Hover your mouse over the pane you want to maximize.
Click on the "Maximize" button that appears at the top right corner of the pane. Alternatively, you can use the keyboard shortcut Cmd + Shift + Enter to maximize the pane.
Restoring the Pane to Original Size:
To restore the pane back to its original size, you can either click on the "Restore" button that appears at the top right corner of the maximized pane, or use the keyboard shortcut Cmd + Shift + Enter again.