DocsConfiguration
View as Markdown

Keyboard Shortcuts

Essential keyboard shortcuts for efficient workflows

General#

ActionShortcut
Quick OpenCmd+P
Command PaletteCmd+Shift+P
SettingsCmd+,
New FileCmd+N
OpenCmd+O
SaveCmd+S
Save AllCmd+Option+S

Quick Open Modes#

Quick Open (Cmd+P) supports multiple search modes:

ModePrefixExample
File Search(none)AppDelegate
Symbol Search@@viewDidLoad
Go to Line::42
File at Linefilename:lineApp.swift:50
ActionShortcut
Go to LineCtrl+G
Go to SymbolCmd+Shift+O
Go BackCtrl+-
Go ForwardCtrl+Shift+-
Reveal in NavigatorCmd+Shift+J
Jump to SelectionCmd+J

Agents & Worktrees#

ActionShortcut
New WorktreeCmd+Shift+T
Switch WorktreeCtrl+Tab
Next Agent/WorktreeCmd+Option+Down
Previous Agent/WorktreeCmd+Option+Up
ActionShortcut
Navigator Tab 1 (Files)Cmd+1
Navigator Tab 2 (Search)Cmd+2
Navigator Tab 3 (Source Control)Cmd+3
Navigator Tab 4-9Cmd+4 through Cmd+9

Editing#

ActionShortcut
CutCmd+X
CopyCmd+C
PasteCmd+V
UndoCmd+Z
RedoCmd+Shift+Z
Move Line UpOption+Up
Move Line DownOption+Down
Duplicate LineCmd+D
Delete LineCmd+Shift+K

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

View & Panels#

ActionShortcut
Toggle NavigatorCmd+0
Toggle InspectorCmd+Ctrl+I
Toggle Utility AreaCmd+Option+J
Toggle ToolbarCmd+Option+T
Hide InterfaceCmd+Shift+H
Focus Editor/Utility AreaCtrl+`
Zoom InCmd+=
Zoom OutCmd+-

Tabs#

ActionShortcut
Next TabCmd+}
Previous TabCmd+{
Select Next TabCmd+Option+Right
Select Previous TabCmd+Option+Left
Close TabCmd+W
Close Other TabsCmd+Option+W
New Terminal TabCmd+T

Source Control#

ActionShortcut
Pull ChangesCmd+Option+X
Show DiffCmd+Shift+D

Code Review#

ActionShortcut
Run Code ReviewCmd+Option+Shift+R

Tasks#

ActionShortcut
Run TaskCmd+Shift+R
Stop TaskCmd+.

Editor#

ActionShortcut
Toggle MinimapCmd+Ctrl+Shift+M

Customizing Shortcuts#

Customize keyboard shortcuts in Settings > Keybindings.

Adding a Custom Shortcut#

  1. Open Settings (Cmd+,)
  2. Navigate to Keybindings
  3. Find the command you want to customize
  4. Click on the current shortcut
  5. Press your desired key combination
  6. Click Save

Removing a Shortcut#

  1. Find the command in Keybindings
  2. Click the X next to the shortcut
  3. The command will have no shortcut assigned

Conflicts#

If you assign a shortcut already in use:

  • A warning will appear
  • You can override the existing binding
  • Or choose a different key combination

Tips#

Learn the Essential Shortcuts#

Start with these high-impact shortcuts:

  • Cmd+P - Quick Open files
  • Cmd+Shift+P - Command Palette
  • Cmd+Option+Down/Up - Switch agents

Use Command Palette#

When you forget a shortcut:

  1. Press Cmd+Shift+P
  2. Type what you want to do
  3. The shortcut is shown next to the command

Muscle Memory#

Practice shortcuts daily:

  • Navigate with keyboard instead of mouse
  • Use Quick Open instead of clicking files
  • Switch tabs with Cmd+{/}