# Keyboard Shortcuts

Keyboard shortcuts turn routine tasks into one-handed keystrokes. This reference covers every shortcut available in YouDesign Models — general editing, canvas navigation, element manipulation, and text formatting.

> **Tip:** Press **?** at any time in the editor to open the in-app shortcut help overlay.

## General

| Action            | Windows / Linux        | macOS                  |
| ----------------- | ---------------------- | ---------------------- |
| Select None       | `Esc`                  | `Esc`                  |
| Select All        | `Ctrl + A`             | `Cmd + A`              |
| Delete Selection  | `Delete` / `Backspace` | `Delete` / `Backspace` |
| Cut Selection     | `Ctrl + X`             | `Cmd + X`              |
| Copy Selection    | `Ctrl + C`             | `Cmd + C`              |
| Paste Selection   | `Ctrl + V`             | `Cmd + V`              |
| Undo              | `Ctrl + Z`             | `Cmd + Z`              |
| Redo              | `Ctrl + Shift + Z`     | `Cmd + Shift + Z`      |
| Duplicate         | `Ctrl + D`             | `Cmd + D`              |
| Group Objects     | `Ctrl + G`             | `Cmd + G`              |
| Ungroup Objects   | `Ctrl + Shift + G`     | `Cmd + Shift + G`      |
| Scroll Diagram    | Arrow Keys `↑ ↓ ← →`   | Arrow Keys `↑ ↓ ← →`   |
| Go to Selection   | `Space` (tap)          | `Space` (tap)          |
| Open & Close Help | `?`                    | `?`                    |

## Canvas

| Action          | Windows / Linux                  | macOS                            |
| --------------- | -------------------------------- | -------------------------------- |
| Pan View        | `Space` + Left Click & Drag      | `Space` + Left Click & Drag      |
| Lasso Selection | Left Click (hold \~1 sec) & Drag | Left Click (hold \~1 sec) & Drag |
| Multi Selection | `Alt + Click`                    | `Option + Click`                 |
| Reset Zoom      | `Ctrl + 0`                       | `Cmd + 0`                        |
| Fit to Screen   | `Shift + Z`                      | `Shift + Z`                      |
| Toggle Grid     | `Shift + Alt + 3`                | `Shift + Option + 3`             |

## Elements

| Action                                    | Windows / Linux   | macOS                |
| ----------------------------------------- | ----------------- | -------------------- |
| Element Snapping to Grid                  | `Shift + Alt + 1` | `Shift + Option + 1` |
| Guide Lines (relative to nearby elements) | `Shift + Alt + 2` | `Shift + Option + 2` |

## Text Formatting (while editing text inside a shape)

| Action        | Windows / Linux    | macOS             |
| ------------- | ------------------ | ----------------- |
| Bold          | `Ctrl + B`         | `Cmd + B`         |
| Italic        | `Ctrl + I`         | `Cmd + I`         |
| Underline     | `Ctrl + U`         | `Cmd + U`         |
| Strikethrough | `Ctrl + Shift + U` | `Cmd + Shift + U` |

See [Text Formatting](/models/work-in-the-app/editor/text-formatting.md) for the full set of text controls (color, alignment, clipping, etc.).

## AI Chat

| Action                    | Windows / Linux | macOS           |
| ------------------------- | --------------- | --------------- |
| Send message              | `Enter`         | `Enter`         |
| New line in message       | `Shift + Enter` | `Shift + Enter` |
| Discard staged AI preview | `Esc`           | `Esc`           |
| Paste attached image      | `Ctrl + V`      | `Cmd + V`       |
| Open element mention list | `@`             | `@`             |
| Open slash commands       | `/`             | `/`             |

See [AI Assistant](/models/work-in-the-app/ai.md) for the full AI chat behavior.

## Notes

* **`Space` is dual-purpose** — a quick tap centers the view on your selection; hold and drag to pan.
* **`Delete` and `Backspace` are equivalent** for removing the current selection.
* **No save shortcut (`Ctrl + S`)** — changes to boards are saved automatically by ServiceNow.
* **Browser reserved shortcuts** (like `Ctrl + F` for browser search) may need to be pressed twice if the browser captures them — open the [Canvas Search](/models/work-in-the-app/editor/search.md) modal from the toolbar as a fallback.

## Related

* [Canvas Search](/models/work-in-the-app/editor/search.md)
* [Text Formatting](/models/work-in-the-app/editor/text-formatting.md)
* [AI Assistant](/models/work-in-the-app/ai.md)
* [User Preferences](/models/work-in-the-app/user-preferences.md) — toggle grid/snap/guides via the settings drawer


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ins-pi.com/models/reference/keyboard-shortcuts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
