Keyboard shortcuts
Shortcuts use ⌘ on macOS and Ctrl on Windows/Linux unless noted.
General (workspace open)
Section titled “General (workspace open)”| Shortcut | Action |
|---|---|
| ⌘/Ctrl + S | Save current file |
| ⌘/Ctrl + 1 | Switch to Agent (simplified) view |
| ⌘/Ctrl + 2 | Switch to Code view |
| ⌘/Ctrl + 3 | Toggle mini dock window |
| ⌘/Ctrl + P | Quick open — jump to a file by name |
| ⌘/Ctrl + Shift + P | Command palette — run commands |
| ⌘/Ctrl + W | Close current file (when a file is selected) |
| ⌘/Ctrl + J or Ctrl + ` | Toggle terminal (expand/collapse) |
| Escape | Close quick open, command palette, or context menu (or step back in palette) |
Code view only
Section titled “Code view only”When you’re in Code view (⌘2), these apply:
| Shortcut | Action |
|---|---|
| ⌘/Ctrl + B | Toggle file explorer (sidebar) |
| ⌘/Ctrl + L | Toggle AI panel |
The code editor (CodeMirror) also has its own shortcuts for find, replace, and navigation (e.g. find in file); these follow the editor’s default keybindings.
AI panel
Section titled “AI panel”When the focus is in the AI panel (prompt or chat):
| Shortcut | Action |
|---|---|
| Enter or Tab | Send message (when not modifier-held) |
| ⌘/Ctrl + Enter | New line in prompt (instead of sending) |
| Escape | Blur / cancel (context-dependent) |
| Arrow Up / Down | Move between suggestions or list items (in dropdowns or lists) |
Modals and overlays
Section titled “Modals and overlays”| Shortcut | Action |
|---|---|
| Escape | Close project dropdown, new project modal, login modal, or embed modal |
| Enter | Confirm (e.g. create project, select in quick open) |
By view
Section titled “By view”- Entry screen (no project open): No global shortcuts; modals still close with Escape.
- Simplified (Agent) view: General shortcuts + AI panel shortcuts when focused there.
- Code view: General + code-view shortcuts (⌘B, ⌘L) + editor shortcuts in the code pane.