Keyboard Shortcuts

Complete reference for canvas editor shortcuts. Works in both VS Code extension and the web playground.

ℹ️ Platform note on macOS = Ctrl on Windows/Linux. Shortcuts work when the canvas is focused (not the code editor).

Tools

Press once to activate. Press twice (VV) to lock the tool (it stays active after drawing).

KeyToolDescription
VSelectClick, drag, marquee select, move, resize
RRectangleDraw rects. +Shift = square
OEllipseDraw ovals. +Shift = circle
TTextClick to place text, then type
AArrowDraw connectors between nodes
PPenClick/drag for free-form paths
EEraserClick/swipe to erase nodes
FFrameDraw a container frame

Edit

ShortcutAction
ZUndo
ZRedo
CCopy selected node(s) as .fd text
VPaste .fd text onto canvas
XCut (copy + delete)
DDuplicate selected node(s)
/ DeleteDelete selected nodes or edges
ASelect all
EscDeselect / cancel drag / exit Zen

Transform

ShortcutAction
Nudge 1px
+ ArrowNudge 10px
Shift + dragConstrain to horizontal or vertical axis
Shift + draw RectConstrain to square
Shift + draw EllipseConstrain to circle
Alt + drawDraw from center outward
Alt + drag nodeDuplicate and drag the clone

Z-Order

ShortcutAction
]Bring Forward
[Send Backward
]Bring to Front
[Send to Back
GGroup selected nodes
GUngroup

View

ShortcutAction
+Zoom in
-Zoom out
0Fit to content
Ctrl + ScrollZoom (scroll wheel)
Space + DragPan canvas (hand tool)
Middle mouse + DragPan canvas
DToggle light/dark theme
?Show shortcut help overlay

Modifier Keys

Holding a modifier key shows a cursor preview to indicate the available action:

KeyCursorIndicates
/ Ctrl✋ GrabPan the canvas
Alt / 📋 CopyAlt+drag will duplicate
Ctrl (macOS)❌ EraserCtrl+click will erase

Style Shortcuts

ShortcutAction
CCopy style from selected node
VPaste style onto selected node

Floating Toolbar

The scroll-themed floating toolbar supports drag interactions:

Zen Mode

Zen mode hides all UI chrome for a distraction-free canvas. Toggle with the 🧘 button or Esc to exit.

Mobile / Touch

GestureAction
Single finger tapSelect node
Single finger dragMove / draw
Two-finger dragPan canvas
PinchZoom in/out