Keyboard shortcuts
⌘ is the Command key on macOS; use Ctrl on Windows and Linux. Shortcuts that use ⇧ need Shift held as well.
Canvas shortcuts are ignored while you are typing in a text field, an inspector input or the inline label editor — those keys stay local to the field.
Undo and redo are the exception, from any control you do not type into: with a tick box, a slider or a dropdown still focused after you changed it, ⌘Z / Ctrl Z undoes that change in the drawing straight away and hands focus back to the canvas, so you need not click anywhere first. In a text field ⌘Z / Ctrl Z undoes your typing, as it does in any other app.
Editing
| Shortcut |
Action |
| ⌘Z / Ctrl Z |
Undo |
| ⇧⌘Z / Ctrl ⇧Z |
Redo |
| ⌘Y / Ctrl Y |
Redo (alternative) |
| ⌘Z / ⇧⌘Z (in Edit layout) |
Undo / redo a LAYOUT change — the drawing's history is untouched while the mode is on |
| ⌘X / Ctrl X |
Cut the selection |
| ⌘C / Ctrl C |
Copy the selection |
| ⌘V / Ctrl V |
Paste under the pointer, in clear space — or an image from the clipboard |
| ⌘D / Ctrl D |
Duplicate the selection beside the original, in clear space |
| Delete or Backspace |
Delete the selection |
| Shift F10 or the Menu key |
Open the canvas menu over the selection (a right-click, or ⌃-click on a Mac, too) |
| ⌘B / Ctrl B |
Bold the selected labels |
| ⌘I / Ctrl I |
Italic |
| ⌘U / Ctrl U |
Underline |
Repeated pastes cascade, so copies fan out instead of stacking. A fragment containing a container (zone or rack) steps sideways by its own width instead of diagonally.
⌘B, ⌘I and ⌘U (Ctrl+B, Ctrl+I, Ctrl+U) do exactly what the inspector's Text style buttons do — on devices, connectors and text blocks alike — and pressing one again clears it.
Selection
| Shortcut |
Action |
| ⌘A / Ctrl A |
Select all nodes and connectors on the page |
| Shift-click |
Add or remove an item from the selection |
| ⌘-click / Ctrl-click |
Add or remove an item from the selection |
| Shift-drag on empty canvas |
Marquee that adds to the current selection |
| Escape |
Cancel the current editor / tool / gesture, otherwise clear the selection |
| Tab |
Select the next node on the page |
| ⇧Tab |
Select the previous node |
Tab steps through the page's nodes only once the canvas itself has focus — click it first. Everywhere else Tab is still the app's own focus order, so tabbing out of the toolbar moves between buttons as it always has. Locked and hidden nodes are skipped, and the walk wraps round at the end.
Moving
| Shortcut |
Action |
| ← ↑ → ↓ |
Nudge the selected nodes by one grid step (8 px) |
| ⇧ + arrow |
Nudge by 1 px |
| ⌥ / Alt + arrow |
Nudge a container alone, leaving what stands on it behind |
| ⌥ / Alt + drag |
The same, with the pointer — move a zone or rack off its contents |
| ⇧ + resize handle |
Keep the shape's proportions while resizing |
Labels and groups
| Shortcut |
Action |
| F2 |
Edit the label of the single selected node or connector |
| Enter |
Enter the selected group; otherwise edit the label, as F2 |
| ⌘G / Ctrl G |
Group the selected nodes |
| ⇧⌘G / Ctrl ⇧G |
Ungroup every group the selection touches |
| Enter (in the label editor) |
Commit the label |
| ⇧Enter or ⌥/Alt Enter (in the label editor) |
Insert a line break — labels can be several lines |
| Escape (in the label editor) |
Discard the edit |
Arrange
| Shortcut |
Action |
| ⇧⌘F / Ctrl ⇧F |
Bring the selection to the front |
| ⇧⌘B / Ctrl ⇧B |
Send the selection to the back |
| ⌥⌘C / Ctrl Alt C |
Copy the selected item's look — the format painter's Copy |
| ⌥⌘V / Ctrl Alt V |
Paint that look onto the selection — Paint |
⌘B and ⌘F (Ctrl+B, Ctrl+F) on their own are still Bold and Find; only the Shift chord restacks. Forward and backward one step have no key — they are the inspector's ▲ and ▼. The two painter chords call the same Copy and Paint the buttons do, so they carry the same look and say the same things when there is nothing to paint.
| Shortcut |
Action |
| V |
The Select tool: put away whatever is armed, so the next press on the drawing selects |
| D |
Open the device picker at the pointer, in both layouts: type a name, Enter places it there; Esc closes |
| C |
Arm the Connector tool, or put it away again — the same toggle as the palette button. Escape also puts it away |
| T |
Arm the Text tool |
| Z |
Arm the Zone tool |
| R |
Arm the Rack tool |
| F |
Arm the Flow arrow tool |
| / |
Jump to the palette's search box; Enter there arms the first match and gives the canvas back |
Every tool key is a toggle, as C is (V is the exception: it only ever puts things away): press it once to arm the tool, press it again — or Escape — to put it away. Each key is printed in its own tooltip, so a tool tells you its letter. Typed into a search box, a name field or a label, these are ordinary letters and no tool moves.
View
| Shortcut |
Action |
| ⌘+ or ⌘= / Ctrl+ |
Zoom in one step |
| ⌘− / Ctrl− |
Zoom out one step |
| ⌘0 / Ctrl 0 |
Zoom to 100% |
| ⌘ + wheel / Ctrl + wheel |
Zoom around the pointer |
| Wheel / two-finger scroll |
Pan |
| Hold Space + drag |
Pan from anywhere |
| Middle-mouse drag |
Pan |
| ⇧1 |
Fit the diagram to the window |
| ⌘[ / Ctrl [ |
Back to the page you followed a link from |
⇧1 is the same button as Fit diagram to window, and it is matched on the physical key, so it holds on any keyboard layout. The minimap toggle, isometric view and the quarter-turn rotate are toolbar buttons — they have no keyboard shortcut.
Files
| Shortcut |
Action |
| ⌘O / Ctrl O |
Open a .drawio or .vsdx file |
| ⌘S / Ctrl S |
Save .drawio |
| ⇧⌘S / Ctrl ⇧S |
Save As |
Find
| Shortcut |
Action |
| ⌘F / Ctrl F |
Open the find box (works wherever focus is; the browser's own find never fires) |
| ⌘K / Ctrl K |
Search everything: commands, shapes, pages, devices, cables, groups, manual |
| Enter |
Go to the next match |
| ⇧Enter |
Go to the previous match |
| ↓ / ↑ |
Next / previous match |
| ⌘/Ctrl F again, in the box |
Reselect the query text |
| Escape |
Close the find box and return focus to the canvas |
Help
| Shortcut |
Action |
| F1 |
Open this manual (press again, or Escape, to close) |
| ? |
Open the manual, when you are not typing in a field |
| / (inside the manual) |
Jump to the manual's search box |
| / (inside the Objects list, the icon library or the palette) |
Jump to that search box |
Menus and dialogs
| Shortcut |
Action |
| Escape |
Closes whichever menu or panel is open: Export, Blocks, Align, View, the app menu, the "More" overflow, Quick shapes, the colour picker, the Layers panel, the collaboration panel, the rack builder, Compare, or this manual |
| ⇧⌘L / Ctrl ⇧L |
Open the Layers panel, or close it |
| Enter / Escape in a name field |
Commit / leave the field (page name, layer name, inspector inputs) |
Every dialog closes on Escape as well — Objects, the icon library, Document info, the optics report, the cable schedule, Revisions and the rest — so Escape is always the way back out of whatever is in front of you. On the canvas it means something else again: see Escape.