# Keyboard Shortcuts

Press `?` anywhere outside a text field to open this list inside the app.

## General
| Shortcut | Action |
|----------|--------|
| `?` | Open the keyboard shortcuts sheet |
| `Ctrl/Cmd + F` | Focus the node search box |
| `Ctrl/Cmd + S` | Save HTML (same as the Save HTML button) |

## Navigation & Movement
| Shortcut | Action |
|----------|--------|
| `Arrow Keys` | Move selected node(s) 1 pixel in arrow direction |
| `Shift + Arrow Keys` | Move selected node(s) 10 pixels for faster positioning |
| `Tab` | Cycle to next node in current view (only when nothing else on the page has focus) |
| `Shift + Tab` | Cycle to previous node in current view (only when nothing else on the page has focus) |
| `F` | Focus camera on selected node(s) with auto zoom |
| `Shift + Click/Drag` | Multiple Select (marquee selection) |

## Keyboard Navigation
| Shortcut | Action |
|----------|--------|
| `Tab` | Move focus into the canvas, then to the next item (nodes, zones, text labels, images and lines) in reading order |
| `Shift + Tab` | Move focus to the previous canvas item |
| `Home` / `End` | Jump to the first or last canvas item |
| `Enter` / `Space` | Open the details panel for the focused item and move focus into it |
| `Enter` on a rack | Open the rack view for the focused rack (`Space` opens its details panel) |
| `Escape` | Close the details panel and return focus to the item that opened it |
| `Alt + Arrow Keys` | Move the focused item by one grid step (undo with `Ctrl/Cmd + Z`, locked items stay put) |
| `Delete` / `Backspace` | Delete the focused item after confirmation, focus moves to the next item |
| `Up` / `Down` | Move through the hidden item list used by screen readers |
| `Home` / `End` | Jump to the first or last entry in the hidden item list |
| `Enter` | Open details for the item chosen in the hidden item list |
| `Tab` / `Shift + Tab` | Inside an open dialog, focus stays within the dialog until it closes |
| `Escape` | Close the open dialog and return focus to where it was |

Moving and deleting with the keyboard are disabled in view only mode.

## Node Management
| Shortcut | Action |
|----------|--------|
| `L` | Lock or unlock selected node(s) to prevent movement |
| `G` | Group or ungroup selected nodes (requires 2+ nodes selected) |
| `Ctrl/Cmd + C` | Copy selected node |
| `Ctrl/Cmd + V` | Paste node at center of view |
| `Ctrl/Cmd + D` | Duplicate selected node |
| `Ctrl/Cmd + A` | Select all nodes in current view |
| `Delete` / `Backspace` | Delete selected item(s) |
| `Escape` | Clear selection |

## Editing
| Shortcut | Action |
|----------|--------|
| `Ctrl/Cmd + Z` | Undo last action |
| `Ctrl/Cmd + Y` | Redo last undone action |
| `Ctrl/Cmd + Shift + Z` | Redo (alternative) |

## View Controls
| Shortcut | Action |
|----------|--------|
| `Ctrl/Cmd + Plus` | Zoom in |
| `Ctrl/Cmd + Minus` | Zoom out |
| `Ctrl/Cmd + 0` | Reset view to default zoom and position |
| `Space + Drag` | Pan canvas (hold space and drag with mouse) |
| `Scroll` | Zoom in/out at cursor position |

## Recording

| Key | Action |
|-----|--------|
| R | Start/stop real time recording |
| Shift + R | Start/stop step by step recording |
| Space | Add step (step recording) / Play/Pause (playback) |
| P | Play recording |