openpencil/docs/reference/keyboard-shortcuts.md
Anton A S 6503c9a267 Sync specs and docs with master: polygon/star tools, resizable panels, code quality
Sync 12 commits from master (af3db9f..70c88dd):
- Polygon and Star drawing tools in shapes flyout
- Resizable left/right panels via reka-ui Splitter
- @/ import alias, shared types (src/types.ts, src/global.d.ts)
- Codebase lint-clean: 0 oxlint warnings, 0 tsgo type errors
- oxfmt formatting, Firefox spinner fix, ScrubInput cursor fix

Updated: 4 openspec specs, 4 VitePress docs pages
2026-02-28 23:25:57 +03:00

4.3 KiB

Keyboard Shortcuts

Full Figma-compatible shortcut map. ✅ = implemented.

::: tip Symbol Legend ⌘ = Cmd (Mac) / Ctrl (Win/Linux) · ⇧ = Shift · ⌥ = Alt/Option · ⌃ = Ctrl · ⌫ = Backspace :::

Tools

Key Tool Status
V Move/Select ✅
K Scale
H Hand ✅
F Frame ✅
S Section ✅
R Rectangle ✅
O Ellipse ✅
L Line ✅
— Polygon ✅ (flyout only)
— Star ✅ (flyout only)
⇧L Arrow
P Pen ✅
⇧P Pencil
T Text ✅
C Comment
I Eyedropper

File

Shortcut Action Status
⌘N New Window
⌘O Open File ✅
⌘W Close Tab
⌘S Save ✅
⇧⌘S Save As ✅
⇧⌘E Export…

Edit

Shortcut Action Status
⌘Z Undo ✅
⇧⌘Z Redo ✅
⌘X Cut ✅
⌘C Copy ✅
⌘V Paste ✅
⇧⌘V Paste Over Selection
⌘D Duplicate ✅
⌫ Delete ✅
⌘A Select All ✅
⇧⌘A Select Inverse
⌥⌘C Copy Properties
⌥⌘V Paste Properties

View

Shortcut Action Status
⌘' Pixel Grid
⌃G Layout Guides
⇧R Rulers
⌘\ Show/Hide UI
⌘= Zoom In ✅
⌘- Zoom Out ✅
⌘0 Zoom to 100% ✅
⌘1 Zoom to Fit
⌘2 Zoom to Selection

Object

Shortcut Action Status
⌥⌘G Frame Selection
⌘G Group Selection ✅
⇧⌘G Ungroup ✅
⇧A Add Auto Layout ✅
⌥⌘K Create Component ✅
⇧⌘K Create Component Set ✅
⌥⌘B Detach Instance ✅
⌘] Bring Forward
⌥⌘] Bring to Front
] Bring to Front ✅
⌘[ Send Backward
⌥⌘[ Send to Back
[ Send to Back ✅
⇧H Flip Horizontal
⇧V Flip Vertical
⇧⌘H Toggle Visibility ✅
⇧⌘L Toggle Lock ✅
⌘E Flatten

Text

Shortcut Action Status
⌘B Bold
⌘I Italic
⌘U Underline
⇧⌘X Strikethrough

Canvas Interaction

Input Action Status
Click Select node ✅
Shift+Click Add/remove from selection ✅
Alt+Drag Duplicate and move ✅
Shift+Drag (draw) Constrain to square/circle ✅
Shift+Drag (resize) Maintain aspect ratio ✅
Shift+Drag (rotate) Snap to 15° ✅
Middle mouse drag Pan ✅
Scroll Pan ✅
Ctrl+Scroll / Pinch Zoom ✅
Double-click text Edit text inline ✅
Drag onto frame Reparent into frame ✅
Escape Deselect / Cancel ✅