Reference · Chapter 11 of 14

Keyboard shortcuts

Every binding, by surface.

~2 min read8 sectionssame text as the guide inside the lab
All chapters

Every binding that actually exists, grouped by where it applies. Inside the lab, press ⌘/ anywhere outside the text editor for the same list as an overlay, or click shortcuts in the status bar.

Everywhere

macOSWindows / LinuxWhat it does
⌘⇧P or ⌘PCtrl+Shift+P or Ctrl+PCommand palette — commands, files, library items, guide chapters
⌘KCtrl+KSearch the library by subject (or focus the gallery's search)
⌘⇧FCtrl+Shift+FFind and replace across the project
⌘⇧MCtrl+Shift+MProblems — the syntax check for this project
⌘OCtrl+OSwitch project
⌘JCtrl+JShow / hide the bottom panel
⌘SCtrl+SSave all now (autosave runs 1.2 s after you stop typing)
⌘/Ctrl+/This cheatsheet (outside the text editor — inside, it toggles a comment)
EscEscClose the palette, a dialog, the gallery or the tour

Tabs

macOSWindows / LinuxWhat it does
Middle-clickMiddle-clickClose a tab
DragDragReorder tabs
Right-clickRight-clickClose · Close others · Close to the right · Close saved
WheelWheelScroll the tab strip

Editor

CodeMirror's standard bindings; completions are on for .py files.

macOSWindows / LinuxWhat it does
⌘ZCtrl+ZUndo
⌘⇧ZCtrl+Shift+ZRedo (Ctrl+Y on Windows/Linux)
or ⌘]Tab or Ctrl+]Indent (or accept an open completion)
⇧⇥ or ⌘[Shift+Tab or Ctrl+[Outdent
⌘/Ctrl+/Toggle line comment
⌥↑ or ⌥↓Alt+↑ or Alt+↓Move line up / down
⇧⌥↑ or ⇧⌥↓Shift+Alt+↑ or Shift+Alt+↓Copy line up / down
⇧⌘KShift+Ctrl+KDelete line
⌘ACtrl+ASelect all
⌃ SpaceCtrl+SpaceOpen completions (SDK names, words in the file)
EnterAccept the highlighted completion (Esc dismisses)
⌘.Ctrl+.Copilot actions on the selection (no selection: the current line)

Notebook

macOSWindows / LinuxWhat it does
⇧↵Shift+EnterRun the cell, move to the next (adds one at the end)
⌘↵Ctrl+EnterRun the cell and stay
⇧↵Shift+EnterIn a markdown cell: render it
Double-clickDouble-clickEdit a rendered markdown cell

Circuit builder

macOSWindows / LinuxWhat it does
⌘ZCtrl+ZUndo
⇧⌘ZShift+Ctrl+ZRedo
or Del or BackspaceRemove the selected gate
or or Walk between gates
EscEscCancel a drag, close the menu, put a gate down, deselect
Right-clickRight-clickGate and column actions
⌥ DragAlt+DragDuplicate a gate

Explorer

macOSWindows / LinuxWhat it does
or or Walk the tree
Expand a folder, or step into it
Collapse a folder, or step out to its parent
EnterOpen a file / toggle a folder
Home or EndHome or EndFirst / last row
macOSWindows / LinuxWhat it does
//Focus the search box
From the box into the grid; arrows walk cards
EnterOpen the card (in the box: the best match)
EscEscClose the gallery

Copilot

macOSWindows / LinuxWhat it does
EnterSend
⇧↵Shift+EnterNew line

Related: Getting started · Circuit builder & emulator