Keyboard shortcuts¶
Ctrl is Cmd on macOS. ? or Ctrl+/ shows this list in
the editor. The registry is frontend/src/lib/shortcuts.ts, shared by the key
handler, the cheat sheet and the command palette.
| Group | Action | Keys | While typing |
|---|---|---|---|
| General | Save | Ctrl+S | yes |
| General | Command palette | Ctrl+K | yes |
| General | Shortcut sheet | ?, Ctrl+/ | |
| General | Clear selection / close panel | Esc | |
| Run | Run | Ctrl+Enter | yes |
| Run | Stop | Ctrl+. | yes |
| History | Undo | Ctrl+Z | |
| History | Redo | Ctrl+Shift+Z, Ctrl+Y | |
| Clipboard | Copy, cut, paste nodes | Ctrl+C, Ctrl+X, Ctrl+V | |
| Clipboard | Duplicate | Ctrl+D | |
| Canvas | Delete selection | Del, Backspace | |
| Canvas | Select all | Ctrl+A | |
| Canvas | Fit view | Shift+1 | |
| Canvas | Zoom in, out | Ctrl+=, Ctrl+- | |
| Canvas | Tidy up the layout | Shift+L |
Shortcuts other than save, run, stop and the palette are ignored while you type in a field, and an open dialog disables them. Text fields keep their native undo and copy.