Reference
Keyboard shortcuts
On Windows and Linux use Ctrl instead of ⌘ and Alt instead of ⌥.
#General
| Shortcut | Action |
|---|
| ⌘ K | Search (from any screen; in a Markdown field it adds a link) |
| ⌘ S | Save |
| Esc | Close the window or panel |
#Editor
| Shortcut | Action |
|---|
| ⌘ 1 | Visual view |
| ⌘ 2 | Code view |
| ⌘ B | Collapse / expand the editor |
| ⌘ Z | Undo |
| ⌘ ⇧ Z or ⌘ Y | Redo |
| ⌘ D | Duplicate the selected step |
| Alt ↑ / ↓ | Move the selected step up / down |
| Delete | Delete the selected step |
| ⌘ E | Export |
| Enter (in message text) | New message in the same direction |
| ⇧ Enter (in message text) | Add a reply |
| ⌥ Enter | New line in text (written to Mermaid as <br/>) |
#Markdown fields
Decision sections, project descriptions and notes, and endpoint summaries are stored as Markdown and edited in a visual editor: typing - , 1. , # , > or [ ] at the start of a line makes a list, heading, quote or task, and **bold** or `code` is formatted as you type. A toolbar above the field adds headings, bold, italic, code, links, lists and quotes. Markdown in the toolbar switches to editing the Markdown text (your choice is remembered); text the visual editor cannot keep exactly, such as raw HTML, always opens as Markdown.
| Shortcut | Action |
|---|
| Enter (in a list item) | Next item (numbers continue); on an empty item it leaves the list |
| Tab / ⇧ Tab (in a list item) | Indent / outdent the item |
| ⌘ B | Bold |
| ⌘ I | Italic |
| ⌘ E | Code (a code block when several lines are selected) |
| ⌘ K | Link |
#Preview
| Shortcut | Action |
|---|
| F | Full screen |
| P | Presentation mode |
| ⌘ + wheel | Zoom in / out |
| Drag an empty area | Pan |
#Presentation mode
| Shortcut | Action |
|---|
| → / Space | Next step |
| ← | Previous step |
| P | Play / pause |
| Esc | Close |
#Architecture view
| Shortcut | Action |
|---|
| ⌘ + wheel, + / - | Zoom in / out |
| 0 | Fit |
#Documentation
| Shortcut | Action |
|---|
| / or ⌘ K | Search the docs |