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 shortcuts

Panes

Split the terminal, move focus between panes, maximize the active pane, and close the surface you are using.

ActionmacOS
Split the pane verticallyCmdD
Split the pane horizontallyCmdShiftD
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 paneCmdShiftEnter
Close the current pane or tabCmdW

Tabs and windows

Create, close, switch, and jump among iTerm2 tabs and windows without leaving the current terminal session.

ActionmacOS
Open a new tabCmdT
Open a new windowCmdN
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 fullscreenCmdEnter

Search and replay

Search scrollback, reuse the current selection, enter Instant Replay, and move through terminal output from an earlier point in time.

ActionmacOS
Open the find barCmdF
Use the selection as the find queryCmdE
Find the next matchCmd+Shift+G finds the previous match.CmdG
Open Instant ReplayCmdOptionB
Move backward in Instant ReplayRight moves forward; Escape exits replay.Left
Temporarily highlight the cursorCmd/
Clear the terminal bufferCmdK

Clipboard and input

Use selection tools, paste history, autocomplete, and broadcast input to keep command entry efficient across sessions.

ActionmacOS
Start mouseless selection modeShift+Tab changes the selection direction; arrow keys extend it.Tab
Open paste historyCmdShiftH
Open autocomplete suggestionsCmd;
Broadcast input to every pane in the tabEvery pane receives the same typed input until broadcast is turned off.CmdOptionI
Open the Open Quickly panelCmdShiftO

Marks and tools

Mark important output, jump back to it, open preferences, and restore terminal presentation when a session needs attention.

ActionmacOS
Set a mark at the current output positionCmdShiftM
Jump to the previous markCmdShiftJ
Open iTerm2 preferencesCmd,
Re-enable a transparent windowCmdU
Show or hide the toolbeltCmdShiftB

Make a printable iTerm2 sheet