Skip to content
Download

Keyboard shortcuts

Shortcuts use on macOS and Ctrl on Windows/Linux unless noted.

ShortcutAction
⌘/Ctrl + SSave current file
⌘/Ctrl + 1Switch to Agent (simplified) view
⌘/Ctrl + 2Switch to Code view
⌘/Ctrl + 3Toggle mini dock window
⌘/Ctrl + PQuick open — jump to a file by name
⌘/Ctrl + Shift + PCommand palette — run commands
⌘/Ctrl + WClose current file (when a file is selected)
⌘/Ctrl + J or Ctrl + `Toggle terminal (expand/collapse)
EscapeClose quick open, command palette, or context menu (or step back in palette)

When you’re in Code view (⌘2), these apply:

ShortcutAction
⌘/Ctrl + BToggle file explorer (sidebar)
⌘/Ctrl + LToggle 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.

When the focus is in the AI panel (prompt or chat):

ShortcutAction
Enter or TabSend message (when not modifier-held)
⌘/Ctrl + EnterNew line in prompt (instead of sending)
EscapeBlur / cancel (context-dependent)
Arrow Up / DownMove between suggestions or list items (in dropdowns or lists)
ShortcutAction
EscapeClose project dropdown, new project modal, login modal, or embed modal
EnterConfirm (e.g. create project, select in quick open)
  • 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.