DocsDocumentation
View as Markdown

All Keyboard Shortcuts

Complete reference of all keyboard shortcuts

Press Cmd+/ for the compact shortcut reference. To rebind, disable, or reset shortcuts, choose Window → Keyboard Shortcuts.

File Operations#

ActionShortcut
New FileCmd+N
New File from Clipboard (Project Navigator)Cmd+V
New WorktreeCmd+Shift+T
New Terminal TabCmd+T
OpenCmd+O
SaveCmd+S
Save AllCmd+Option+S
Close TabCmd+W
Close EditorCmd+Shift+Ctrl+W
Close WindowCmd+Shift+W
Close WorkspaceCmd+Option+Ctrl+W
ActionShortcut
Quick OpenCmd+P
Command PaletteCmd+Shift+P
Show Kanban BoardCmd+Option+K
Go to LineCtrl+G
Go to SymbolCmd+Shift+O
Go BackCmd+Ctrl+Left
Go ForwardCmd+Ctrl+Right
Reveal in NavigatorCmd+Shift+J
Jump to SelectionCmd+J
Next TabCmd+}
Previous TabCmd+{
Select Next TabCmd+Option+Right
Select Previous TabCmd+Option+Left
Navigator Tab 1-9Cmd+1 through Cmd+9

Editing#

ActionShortcut
CutCmd+X
CopyCmd+C
PasteCmd+V
UndoCmd+Z
RedoCmd+Shift+Z
Select AllCmd+A
Indent Selected LinesTab
Outdent Selected LinesShift+Tab
Dismiss Find / Toggle CompletionsEsc
Move Line UpOption+Up
Move Line DownOption+Down
Duplicate LineCmd+D
Delete LineCmd+Shift+K
Toggle CommentCmd+Option+/

Find & Replace#

ActionShortcut
FindCmd+F
Find and ReplaceCmd+Option+F
Find NextCmd+G
Find PreviousCmd+Shift+G
Find in ProjectCmd+Shift+F
Use Selection for FindCmd+E
Jump to SelectionCmd+J

View#

ActionShortcut
Toggle NavigatorCmd+0
Toggle InspectorCmd+Ctrl+I
Toggle Utility AreaCmd+Option+J
Toggle ToolbarCmd+Option+T
Hide InterfaceCmd+Shift+H
Enter or Exit Zen ModeCtrl+Cmd+Z
Zoom InCmd+=
Zoom OutCmd+-
Reset Zoom / Font SizeCmd+Ctrl+0

Git Worktrees#

ActionShortcut
New WorktreeCmd+Shift+T
Switch WorktreeCtrl+Tab
Next WorktreeCmd+Option+Down
Previous WorktreeCmd+Option+Up
Switch to Agent 1-9Cmd+Option+1 through Cmd+Option+9

Agent Chat#

ActionShortcut
Focus Agent ChatCmd+L
New Agent ChatCmd+Shift+N
Close Agent ChatCmd+Ctrl+W
Next Agent ChatCmd+Ctrl+Down
Previous Agent ChatCmd+Ctrl+Up
Stop Agent Chat TurnCmd+. (or Esc while streaming)

Source Control#

ActionShortcut
Pull ChangesCmd+Option+X
Show DiffCmd+Shift+D
Run Code ReviewCmd+Option+Shift+R

Editor#

ActionShortcut
Toggle MinimapCmd+Ctrl+Shift+M
Show CompletionsOption+Esc
Copy Hovered Element (Design Mode)Cmd+C or Ctrl+C
Exit Design ModeEsc

Tasks#

ActionShortcut
Run TaskCmd+Shift+R
Stop TaskCmd+.

Application#

ActionShortcut
Keyboard Shortcuts ReferenceCmd+/
SettingsCmd+,
Toggle Developer SettingsCmd+Option+Ctrl+D
Manage ExtensionsCmd+Shift+X
QuitCmd+Q
MinimizeCmd+M
Full ScreenCmd+Ctrl+F