Keyboard Shortcuts
Press Ctrl+/ inside the IDE to open the same list in a searchable tab, which is
generated from the app itself and is always current.
On macOS builds substitute ⌘ for Ctrl.
| Action | Shortcut |
|---|---|
| Quick open file | Ctrl+P |
| Save file | Ctrl+S |
| Close tab | Ctrl+W |
| Next tab | Ctrl+Tab |
| Previous tab | Ctrl+Shift+Tab |
| Rename file | F2 |
F2 only fires when focus is outside the editor and outside a text field — it
renames the file selected in the tree.
Editing
Section titled “Editing”| Action | Shortcut |
|---|---|
| Find in file | Ctrl+F |
| Find and replace | Ctrl+H |
| Go to line | Ctrl+G |
| Select next occurrence | Ctrl+D |
| Delete line | Ctrl+Shift+K |
| Move line up/down | Alt+↑ / Alt+↓ |
| Toggle comment | Ctrl+/ |
These come from the Monaco editor, so the rest of its default bindings — undo, redo, multi-cursor, block indent — work as you would expect.
Navigation
Section titled “Navigation”| Action | Shortcut |
|---|---|
| Command palette | Ctrl+K |
| Search in project | Ctrl+Shift+F |
| Toggle sidebar | Ctrl+B or Ctrl+\ |
| Toggle terminal | Ctrl+` |
| Source control | Ctrl+Shift+G |
Ctrl+` opens the bottom panel on the Terminal tab and creates a terminal if
none is running; pressing it again hides the panel.
| Action | Shortcut |
|---|---|
| Toggle AI chat | Ctrl+L |
| Quick AI edit | Ctrl+I |
| Add selection to AI chat | Ctrl+Shift+L |
Ctrl+I transforms the current selection in place. Ctrl+Shift+L sends the
selection to the chat panel as a context chip instead of editing anything — the
console has the same “Add to Chat” affordance on its right-click menu.
Help us improve these guides
Allow anonymous page and key-link counts? We use PostHog in the US. No session recording. You can change this below at any time.