> ## Documentation Index
> Fetch the complete documentation index at: https://editor.pascal.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Keyboard shortcuts

> Every keyboard shortcut in the Pascal editor — tools and modes, editing, drawing and placement, selection, and camera.

Shortcuts are context-aware: some only apply while you're drawing, placing, or have
something selected. The same list is available in the editor under **Settings →
Keyboard Shortcuts**. On Windows and Linux, `Cmd/Ctrl` means `Ctrl`.

Shortcuts don't fire while you're typing in a text field.

## Tools and modes

| Shortcut | Action                                                                                          |
| -------- | ----------------------------------------------------------------------------------------------- |
| `V`      | Select mode                                                                                     |
| `B`      | Build mode with the wall tool                                                                   |
| `X`      | Delete mode                                                                                     |
| `Z`      | Zone drawing                                                                                    |
| `F`      | Furnish — opens the items panel with the item tool armed                                        |
| `P`      | Material paint mode                                                                             |
| `1`      | Site phase                                                                                      |
| `2`      | Structure phase                                                                                 |
| `3`      | Furnish phase                                                                                   |
| `Esc`    | Cancel the current draw/placement; pressed again, return to Select mode and clear the selection |

## Editing

| Shortcut               | Action                                                                                             |
| ---------------------- | -------------------------------------------------------------------------------------------------- |
| `Cmd/Ctrl + Z`         | Undo                                                                                               |
| `Cmd/Ctrl + Shift + Z` | Redo                                                                                               |
| `Cmd/Ctrl + C`         | Copy the selection                                                                                 |
| `Cmd/Ctrl + V`         | Paste onto the active level                                                                        |
| `Delete` / `Backspace` | Delete the selection (asks for confirmation above 10 elements)                                     |
| `R`                    | Rotate the selected element clockwise in 45° steps; for a door or window, flip which side it faces |
| `T`                    | Rotate the selected element counter-clockwise in 45° steps                                         |
| `E`                    | Open/close the selected door or operable window                                                    |

## Drawing and placement

These apply while a draw or placement is active — the contextual hint strip shows
which ones are live.

| Shortcut                | Action                                                                                                                                      |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `Shift`                 | Cycle the snapping mode: Grid → Lines → Angles → Off                                                                                        |
| `Ctrl` (tap)            | Cycle the grid step: 0.5 → 0.25 → 0.1 → 0.05 m                                                                                              |
| `C`                     | Cycle the continuation mode — walls: Room (auto-close) / Single wall; items: Place once / Place multiple; fences: Continuous / Single fence |
| `T`                     | While drawing a fence: toggle curved segments                                                                                               |
| `R` / `T`               | While placing a door or window: flip the draft before committing                                                                            |
| `Shift` (in paint mode) | Cycle the paint scope: surface → whole item → all matching → room                                                                           |

## Selection and direct manipulation

| Shortcut                              | Action                                           |
| ------------------------------------- | ------------------------------------------------ |
| `Cmd/Ctrl + click` or `Shift + click` | Add or remove an element from the selection      |
| Drag                                  | Move the selected movable element                |
| `Cmd/Ctrl + right-drag`               | Rotate the selected element (snaps to 15° steps) |
| `Cmd/Ctrl + Shift + right-drag`       | Rotate freely, without the 15° step              |

## Camera

| Shortcut        | Action              |
| --------------- | ------------------- |
| Right-drag      | Orbit               |
| Middle-drag     | Pan                 |
| `Space` + drag  | Pan                 |
| Scroll          | Zoom                |
| `W` `A` `S` `D` | Pan in screen space |
| `Cmd/Ctrl + ↑`  | Go up one level     |
| `Cmd/Ctrl + ↓`  | Go down one level   |

On touch devices: one-finger drag orbits, two-finger pinch zooms and pans, and a
three-finger drag always orbits.

## Panels

| Shortcut       | Action                   |
| -------------- | ------------------------ |
| `Cmd/Ctrl + K` | Open the command palette |
| `Cmd/Ctrl + I` | Open the Chat (AI) panel |
