Keyboard Shortcuts
Tip: Press
Shift + Cinside the editor to open the full keyboard shortcut reference without leaving your app.
Command Bar
The command bar is the fastest way to navigate your app. Press the shortcut from anywhere in the editor — including when the code editor has focus.
| Action | Mac | Windows / Linux |
|---|---|---|
| Go to file | ⌘ P | Ctrl P |
| Run editor command | ⌘ ⇧ P | Ctrl Shift P |
| Search in files | ⌘ ⇧ F | Ctrl Shift F |
| Go to symbol in editor | ⌘ ⇧ O | Ctrl Shift O |
| Close command bar | Esc | Esc |
Mode switching inside the bar
You can switch modes by typing a prefix character — no need to close and reopen.
| Prefix | Mode | Example |
|---|---|---|
| (none) | Go to file | App |
> | Editor commands | > Toggle Sidebar |
# | Search in files | # useState |
Use ↑ ↓ to navigate results, Enter to open, Esc to close. Clicking a result with the mouse works too.
Settings panels
| Action | Shortcut |
|---|---|
| Open Editor Preferences | Shift + P |
| Open Editor Settings | Shift + S |
| Open Keyboard Shortcuts | Shift + C |
| Open Power Mode Config | Shift + X |
| Open Experiment Config | Shift + E |
| Open Experiment Actions | Shift + A |
| Open AI Settings | Settings menu (⚙) → AI |
File tree
Click anywhere in the file tree panel to give it keyboard focus, then use these shortcuts.
| Action | Shortcut |
|---|---|
| New file | N |
| New folder | Shift + N |
| Collapse all folders | Collapse All button in tree header |
Tab bar
Right-click any open tab for a context menu with:
| Action | Description |
|---|---|
| Close | Close this tab |
| Close Others | Close every tab except this one |
| Close to the Right | Close all tabs to the right of this one |
| Reveal in File Tree | Scroll the file tree to this file and highlight it |
| Copy Relative Path | Copy the @/src/… path to the clipboard |
The overflow chevron (⌄) appears at the right edge of the tab bar when there are more open tabs than fit — click it to see and switch to any open file.
Code editor
| Action | Mac | Windows / Linux |
|---|---|---|
| Comment selection | ⌘ K C | Ctrl K C |
| Uncomment selection | ⌘ K U | Ctrl K U |
| Toggle line comment | ⌘ / | Ctrl / |
| Find | ⌘ F | Ctrl F |
| Find and replace | ⌘ H | Ctrl H |
| Go to line | Ctrl G | Ctrl G |
| Rename symbol (all files) | fn F2 (or F2 with standard fn keys) | F2 |
| Format document | ⇧ ⌥ F | Shift Alt F |
| Multi-cursor | ⌥ Click | Alt Click |
| Select all occurrences | ⌘ ⇧ L | Ctrl Shift L |
| Move line up / down | ⌥ ↑ / ↓ | Alt ↑ / ↓ |
| Duplicate line | ⇧ ⌥ ↓ | Shift Alt ↓ |
| Delete line | ⌘ ⇧ K | Ctrl Shift K |
| Fold region | ⌘ ⌥ [ | Ctrl Shift [ |
| Unfold region | ⌘ ⌥ ] | Ctrl Shift ] |
| Trigger autocomplete | Ctrl Space | Ctrl Space |
AI Chat
| Action | How |
|---|---|
| Send message | Enter |
| New line in message | Shift + Enter |
| New chat | Click the + button in the chat header |
| Fix error | Click Fix error when a build/runtime error appears |
| Open AI Settings | Settings menu (⚙) → AI → AI Settings Panel |