Editor

Keyboard shortcuts

1 min read

The editor is keyboard-first by design. Press ? anywhere to open the keymap overlay; the most-used bindings live below.

Global

| Shortcut | Action | |----------|--------| | cmd+s / ctrl+s | Save draft | | cmd+shift+s | Publish (versioned save) | | cmd+shift+e | Open export panel | | cmd+shift+v | Toggle preview / hide preview | | cmd+/ | Toggle command palette | | ? | Open keymap overlay | | esc | Close any open panel / overlay |

Token tree navigation

| Shortcut | Action | |----------|--------| | j / k | Move down / up the tree | | enter | Open selected node for edit | | cmd+enter | Add a new token in the current section | | cmd+d | Duplicate the focused token | | cmd+backspace | Delete the focused token (with confirmation) |

Theme toggle

| Shortcut | Action | |----------|--------| | cmd+shift+l | Switch to light theme editing | | cmd+shift+d | Switch to dark theme editing | | cmd+shift+t | Cycle light → dark → both |

Preview viewport

| Shortcut | Action | |----------|--------| | 1 | Mobile (375px) | | 2 | Tablet (768px) | | 3 | Laptop (1024px) | | 4 | Desktop (1440px) | | 0 | Reset to viewport-fit |

Command palette

cmd+/ opens the command palette — a fuzzy search over every editor action. Useful when you don't remember a binding or want to jump to a specific token by name.