Terminal & CLI

iTerm2 Keyboard Shortcuts

98 shortcuts to navigate terminal on mac faster — the complete iTerm2 keyboard shortcut reference

iTerm2 keyboard shortcuts

iTerm2, from George Nachman, is a terminal & CLI application designed to navigate terminal on mac. It has become a go-to choice for professionals and enthusiasts alike.

For iTerm2 users, mastering keyboard shortcuts is one of the fastest ways to boost productivity. Quick access to tools and commands keeps the creative flow unbroken.

iTerm2 is a macOS-exclusive tool, and its keyboard shortcuts are designed with that platform's conventions in mind.

macOS
98 shortcuts 32 categories
Visit iTerm2 Official Website

Split Panes 7 shortcuts

Split pane vertically
Cmd +D
Split pane horizontally
Shift +Cmd +D
Navigate to a split pane
Opt +Cmd +Left
Navigate to a split pane
Opt +Cmd +Right
Navigate to a split pane
Cmd +[
Navigate to a split pane
Cmd +]
Maximize current pane/restore hidden panes
Shift +Cmd +Enter

Save Mark/Jump to Mark 2 shortcuts

Save Mark
Shift +Cmd +M
Jump to Mark
Shift +Cmd +J

Find Field / Regular Expression Search 1 shortcut

Open find field
Cmd +F

Autocomplete 1 shortcut

Open autocomplete window
Cmd +;

Paste History 1 shortcut

Access paste history
Shift +Cmd +H

Instant Replay 2 shortcuts

Enable instant replay
Opt +Cmd +B
Exit instant replay mode
Esc

Full Screen 2 shortcuts

Enter full screen mode
Cmd +Enter
Re-enable transparent background in full screen mode
Cmd +U

Cursor Finery 1 shortcut

Find Cursor
Cmd +/

Undo Close 1 shortcut

Undo close
Cmd +Z

Open Quickly 1 shortcut

Open Quickly
Shift +Cmd +O

General Usage - Keyboard 12 shortcuts

Navigate among tabs
Cmd +Left
Navigate among tabs
Cmd +Right
Navigate among tabs
Cmd +{
Navigate among tabs
Cmd +}
Navigate directly to a tab
Cmd +0-9
Navigate directly to a window
Opt +Cmd +0-9
Navigate among split panes
Opt +Cmd +Left
Navigate among split panes
Opt +Cmd +Right
Navigate among split panes
Opt +Cmd +Up
Navigate among split panes
Opt +Cmd +Down
Navigate among split panes in order of use
Cmd +]
Navigate among split panes in order of use
Cmd +[

General Preferences - Closing 1 shortcut

Quit iTerm2
Cmd +Q

Window 1 shortcut

Navigate to a window by pressing cmd-opt-N where N is the window number
Opt +Cmd +N

General 3 shortcuts

Open a new window or tab. Option key opens a new window
Cmd +N
Quit iTerm2
Cmd +Q
Open a contextual menu (right-click)
Ctrl +Left

Keys > Key Mappings 1 shortcut

Undo action
Cmd +Z

Navigation Shortcuts 2 shortcuts

Activate a tab
Cmd +0-9
Activate a window
Opt +Cmd +0-9

Copy Mode - Changing Modes 8 shortcuts

Stop selecting
Ctrl +Space
Exit copy mode
Esc
Exit copy mode
Q
Exit copy mode
Ctrl +C
Exit copy mode
Ctrl +G
Toggle rectangular selection
Ctrl +V
Toggle selection by character
Space
Toggle selection by character / Toggle selection by line
V
The BuildBox Macropad Puts Keyboard Shortcuts at Your Fingertips! Learn More

Copy Mode - Basic Movement 8 shortcuts

Move left
H
Move left
Left
Move down
J
Move down
Down
Move up
K
Move up
Up
Move right
L
Move right
Right

Copy Mode - Content-Based Movement 10 shortcuts

Move back one word, treating symbols as word breaks.
Opt +Left
Move back one word, treating symbols as word breaks.
M +B
Move back one word, treating symbols as word breaks.
Shift +Tab
Move back one word, treating symbols as word breaks. / Move back one word, treating symbols as part of a word.
B
Move forward one word, treating symbols as word breaks.
Opt +Right
Move forward one word, treating symbols as word breaks.
M +F
Move forward one word, treating symbols as word breaks.
Tab
Move forward one word, treating symbols as word breaks. / Move forward one word, treating symbols as part of a word.
W
Move to previous mark
[
Move to next mark
]

Copy Mode - Screen Movement 7 shortcuts

Move up one screen
Ctrl +B
Move up one screen
PageUp
Move down one screen
Ctrl +F
Move down one screen
PageDown
Move to top of visible area
H
Move to middle of visible area
M
Move to bottom of visible area
L

Copy Mode - Line Movement 5 shortcuts

Move to start of indentation
^
Move to start of indentation
M +M
Move to start of line
0
Move to end of line
$
Move to start of next line
Enter

Copy Mode - Document Movement 1 shortcut

Move to start / Move to end
G

Copy Mode - Other Commands 3 shortcuts

Swap cursor and other selection endpoint
O
Copy selection
Ctrl +K
Copy selection
Y

View Menu 1 shortcut

View > Open Quickly
Shift +Cmd +O

tmux Integration 4 shortcuts

Detach cleanly from tmux mode
Esc Esc Esc
Force-quit tmux mode
X X X
Toggle logging in tmux mode
L L L
Run tmux command
C C C

Touch Bar 2 shortcuts

Navigate to the previous mark
Shift +Cmd +Up
Navigate to the next mark
Shift +Cmd +Down

Marks 3 shortcuts

Navigate to previous marks
Shift +Cmd +Up
Navigate to next marks
Shift +Cmd +Down
Alert on next mark
Opt +Cmd +A

Command History Popup 1 shortcut

Open Command History
Shift +Cmd +;

Recent Directories Popup 1 shortcut

Open Recent Directories
Opt +Cmd +/

Smart Selection Actions 1 shortcut

Invoke the first smart selection rule on text
Cmd +Left Mouse Click

Navigation 3 shortcuts

Remove a selection from the Command History
Cmd +Left Click
Jump to mark
Shift +Cmd +J
Set mark
Shift +Cmd +M

Hyperlinks 1 shortcut

Open a hyperlink
Cmd +Left +Click
BuildBox Macropad

We've Built 10s Of 1000s Of Keyboard Shortcuts Into The BuildBox Macropad

The BuildBox Macropad is the ultimate shortcut machine. One device with up to 160 configurable shortcuts for apps like iTerm2 available at your fingertips, a crystal clear display showing what every key does, and a hall-effect scroll wheel for scrubbing through video, audio and graphic editing applications like butter!

Drop your email below to be eligible for our first production run of 500 BuildBox units, at a HUGE discount price:

Keyboard Shortcuts for Similar Applications