General
| Action | Shortcut |
|---|
| Quick Open | Cmd+P |
| Command Palette | Cmd+Shift+P |
| Settings | Cmd+, |
| New File | Cmd+N |
| Open | Cmd+O |
| Save | Cmd+S |
| Save All | Cmd+Option+S |
Quick Open Modes
Quick Open (Cmd+P) supports multiple search modes:
| Mode | Prefix | Example |
|---|
| File Search | (none) | AppDelegate |
| Symbol Search | @ | @viewDidLoad |
| Go to Line | : | :42 |
| File at Line | filename:line | App.swift:50 |
Navigation
| Action | Shortcut |
|---|
| Go to Line | Ctrl+G |
| Go to Symbol | Cmd+Shift+O |
| Go Back | Ctrl+- |
| Go Forward | Ctrl+Shift+- |
| Reveal in Navigator | Cmd+Shift+J |
| Jump to Selection | Cmd+J |
Agents & Worktrees
| Action | Shortcut |
|---|
| New Worktree | Cmd+Shift+T |
| Next Agent/Worktree | Cmd+Option+Down |
| Previous Agent/Worktree | Cmd+Option+Up |
Navigator Tabs
| Action | Shortcut |
|---|
| Navigator Tab 1 (Files) | Cmd+1 |
| Navigator Tab 2 (Search) | Cmd+2 |
| Navigator Tab 3 (Source Control) | Cmd+3 |
| Navigator Tab 4-9 | Cmd+4 through Cmd+9 |
Editing
| Action | Shortcut |
|---|
| Cut | Cmd+X |
| Copy | Cmd+C |
| Paste | Cmd+V |
| Undo | Cmd+Z |
| Redo | Cmd+Shift+Z |
| Move Line Up | Option+Up |
| Move Line Down | Option+Down |
| Duplicate Line | Cmd+D |
| Delete Line | Cmd+Shift+K |
Find & Replace
| Action | Shortcut |
|---|
| Find | Cmd+F |
| Find and Replace | Cmd+Option+F |
| Find Next | Cmd+G |
| Find Previous | Cmd+Shift+G |
| Find in Project | Cmd+Shift+F |
| Use Selection for Find | Cmd+E |
View & Panels
| Action | Shortcut |
|---|
| Toggle Navigator | Cmd+0 |
| Toggle Inspector | Cmd+Ctrl+I |
| Toggle Utility Area | Cmd+J |
| Toggle Toolbar | Cmd+Option+T |
| Hide Interface | Cmd+Shift+H |
| Focus Editor/Utility Area | Ctrl+` |
| Zoom In | Cmd+= |
| Zoom Out | Cmd+- |
Tabs
| Action | Shortcut |
|---|
| Next Tab | Cmd+} |
| Previous Tab | Cmd+{ |
| Select Next Tab | Cmd+Option+Right |
| Select Previous Tab | Cmd+Option+Left |
| Close Tab | Cmd+W |
| Close Other Tabs | Cmd+Option+W |
| New Terminal Tab | Cmd+T |
Source Control
| Action | Shortcut |
|---|
| Pull Changes | Cmd+Option+X |
| Show Diff | Cmd+Shift+D |
Code Review
| Action | Shortcut |
|---|
| Run Code Review | Cmd+Shift+R |
Tasks
| Action | Shortcut |
|---|
| Run Task | Cmd+R |
| Stop Task | Cmd+. |
Editor
| Action | Shortcut |
|---|
| Toggle Minimap | Cmd+Ctrl+Shift+M |
Customizing Shortcuts
Customize keyboard shortcuts in Settings > Keybindings.
Adding a Custom Shortcut
- Open Settings (Cmd+,)
- Navigate to Keybindings
- Find the command you want to customize
- Click on the current shortcut
- Press your desired key combination
- Click Save
Removing a Shortcut
- Find the command in Keybindings
- Click the X next to the shortcut
- 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:
- Press Cmd+Shift+P
- Type what you want to do
- 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+{/}