iTerm2 Common Keyboard Shortcuts Cheat Sheet
iTerm2 is the most popular terminal emulator replacement for the macOS platform, offering more features and a rich set of keyboard shortcuts than the built-in Terminal, greatly enhancing developer productivity.
Windows & Tabs
| Shortcut | Description |
|---|---|
Cmd + N |
Create new window |
Cmd + T |
Create new tab |
Cmd + W |
Close current tab |
Cmd + Number |
Jump to tab N |
Cmd + ←/→ |
Switch to previous/next tab |
Cmd + Alt + Number |
Jump to window N |
Cmd + Alt + I |
Broadcast input to all tabs in current window |
Panes (Split views)
| Shortcut | Description |
|---|---|
Cmd + D |
Vertical split (split left/right) |
Cmd + Shift + D |
Horizontal split (split up/down) |
Cmd + [ |
Switch to previous pane |
Cmd + ] |
Switch to next pane |
Cmd + Alt + Arrow |
Switch panes by arrow keys |
Cmd + Shift + Enter |
Maximize/Restore current pane |
Search & Select
| Shortcut | Description |
|---|---|
Cmd + F |
Open search box |
Cmd + G |
Find next match |
Cmd + Shift + G |
Find previous match |
Cmd + Alt + E |
Global search (search all tabs and history) |
Cmd + / |
Find cursor position |
Cmd + Click |
Open URL, file, or folder |
Session & UI
| Shortcut | Description |
|---|---|
Cmd + R |
Clear screen (Reset) |
Cmd + K |
Clear screen and delete history |
Cmd + Shift + S |
Save current window snapshot |
Cmd + ; |
Autocomplete command history |
Cmd + Shift + H |
Show pasteboard history |
Cmd + Alt + B |
Enable Instant Replay |
Cmd + I |
View/Edit current session details |