iTerm2 keyboard shortcuts
iTerm2's shortcuts are about keeping several terminal jobs visible at once. Work across panes and tabs, search scrollback, recover paste history, mark useful output, broadcast input, and open the less obvious terminal tools.
macOS · 29 shortcutsPanes
Split the terminal, move focus between panes, maximize the active pane, and close the surface you are using.
| Action | macOS |
|---|---|
| Split the pane vertically | CmdD |
| Split the pane horizontally | CmdShiftD |
| Move to the next paneCmd+[ moves to the previous pane. | Cmd] |
| Move to a pane by directionUse the corresponding arrow for left, up, or down. | CmdOptionRight |
| Maximize or restore the current pane | CmdShiftEnter |
| Close the current pane or tab | CmdW |
Tabs and windows
Create, close, switch, and jump among iTerm2 tabs and windows without leaving the current terminal session.
| Action | macOS |
|---|---|
| Open a new tab | CmdT |
| Open a new window | CmdN |
| Switch to the next tabCmd+Left switches to the previous tab. Cmd+{ and Cmd+} are also documented. | CmdRight |
| Jump to a tab by numberUse the corresponding digit for the target tab. | Cmd1 |
| Jump to a window by numberUse the corresponding digit for the target window. | CmdOption1 |
| Enter or leave fullscreen | CmdEnter |
Search and replay
Search scrollback, reuse the current selection, enter Instant Replay, and move through terminal output from an earlier point in time.
| Action | macOS |
|---|---|
| Open the find bar | CmdF |
| Use the selection as the find query | CmdE |
| Find the next matchCmd+Shift+G finds the previous match. | CmdG |
| Open Instant Replay | CmdOptionB |
| Move backward in Instant ReplayRight moves forward; Escape exits replay. | Left |
| Temporarily highlight the cursor | Cmd/ |
| Clear the terminal buffer | CmdK |
Clipboard and input
Use selection tools, paste history, autocomplete, and broadcast input to keep command entry efficient across sessions.
| Action | macOS |
|---|---|
| Start mouseless selection modeShift+Tab changes the selection direction; arrow keys extend it. | Tab |
| Open paste history | CmdShiftH |
| Open autocomplete suggestions | Cmd; |
| Broadcast input to every pane in the tabEvery pane receives the same typed input until broadcast is turned off. | CmdOptionI |
| Open the Open Quickly panel | CmdShiftO |
Marks and tools
Mark important output, jump back to it, open preferences, and restore terminal presentation when a session needs attention.
| Action | macOS |
|---|---|
| Set a mark at the current output position | CmdShiftM |
| Jump to the previous mark | CmdShiftJ |
| Open iTerm2 preferences | Cmd, |
| Re-enable a transparent window | CmdU |
| Show or hide the toolbelt | CmdShiftB |