Keyboard shortcuts

The eight shortcuts you'll use every day, plus the rest.

Essentials

ShortcutWhat it does
Ctrl+Shift+PCommand palette. Searchable list of every action.
Ctrl+Shift+KAsk the codebase (semantic search overlay).
Ctrl+Shift+BBrowser allowlist editor.
Ctrl+SSave the focused file.
Ctrl+/Toggle line comment in editor.
Shift+EnterRun the focused notebook cell.
Ctrl+CSend SIGINT to the running terminal program (in PTY tabs).
EscClose the topmost overlay (modal, completion popup, command palette).
On Mac, substitute for Ctrl and for Alt.

Editor (Monaco)

ShortcutWhat it does
F12Go to definition.
Shift+F12Find all references.
F2Rename symbol.
Ctrl+SpaceTrigger completions.
Ctrl+DAdd next match to multi-cursor selection.
Alt+ClickAdd a cursor at the click point.
Alt+↑ / Alt+↓Move line up / down.
Ctrl+GGo to line.
Ctrl+FFind in file.
Ctrl+HFind and replace in file.
Ctrl+Shift+FProject-wide search (sidebar).

Terminal (PTY)

ShortcutWhat it does
Ctrl+CSIGINT to foreground process.
Ctrl+DEOF / logout (if shell supports).
Ctrl+LClear screen.
Ctrl+Shift+VPaste.
Ctrl+Shift+T (when terminal focused)New terminal tab.

Notebook

ShortcutWhat it does
Shift+EnterRun the focused cell.
Tab (in cell)Insert 4 spaces.
Ctrl+SSave the notebook (auto-saves on blur too).

Discoverable in-app

The command palette (Ctrl+Shift+P) is the source of truth. If a feature has a binding, it's listed there with the current key.