
iTerm2 Shortcut Summary
Here is a collection of useful shortcuts you can use with "iTerm," the terminal emulator for macOS.
Posted at: 2023.10.18
Tab and Window Operations
Basic tab and window operations are almost the same as the standard ones on macOS.
Switching between tabs is a frequently used shortcut, so memorizing it will help you work more efficiently.
| Keyboard Shortcut | Description |
|---|---|
| Create a new tab | Cmd + T |
| Switch between tabs | Cmd + Left/Right Arrow |
| Switch between windows | Cmd + Opt + Left/Right Arrow |
| Close tab | Cmd + W |
| Close window | Cmd + Shift + W |
Pane Operations (Split Screen)
iTerm supports split screens without any plugins. By using shortcuts, you can quickly operate multiple panes.
| Keyboard Shortcut | Description |
|---|---|
| Split pane vertically | Cmd + D |
| Split pane horizontally | Cmd + Shift + D |
| Move between panes | Cmd + Opt + Arrow Keys |
Text Operations
Text operations are also almost the same as the standard ones on macOS. Displaying command history allows you to intuitively view a list of past commands, so it is used frequently.
| Keyboard Shortcut | Description |
|---|---|
| Copy command | Cmd + C |
| Paste command | Cmd + V |
| Show command history | Cmd + ; |
Search and Replace
Search shortcuts are also the same as the standard ones on macOS.
| Keyboard Shortcut | Description |
|---|---|
| Show search bar | Cmd + F |
| Find next | Cmd + G |
| Find previous | Cmd + Shift + G |
Clear Screen and Scrolling
Scrolling shortcuts are among the first you should learn in iTerm2. These are also laid out similarly to macOS standard shortcuts.
| Keyboard Shortcut | Description |
|---|---|
| Clear screen | Cmd + K |
| Scroll to top of screen | Cmd + ↑ |
| Scroll to bottom of screen | Cmd + ↓ |