Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Keys

Secondary is Cmd on macOS and Ctrl elsewhere. Keys marked “drawing” act only while the drawing has the keyboard (click it first); while the source pane or a label field has it, Undo, Redo, and Select All act on that text instead.

Files and windows

KeysAction
secondary-nNew document
secondary-oOpen
secondary-sSave
secondary-shift-sSave As
secondary-rReload from disk
secondary-shift-eExport as PNG
secondary-shift-cCopy the drawing as an image
secondary-wClose the window
secondary-qQuit
secondary-eShow or hide the source pane
secondary-iShow or hide the styles panel
secondary-shift-]Next diagram block of a Markdown file
secondary-shift-[Previous diagram block of a Markdown file

Editing

KeysAction
secondary-shift-nAdd a node, linked from the selected node
enter (drawing)Edit the selected item’s label
backspace, delete (drawing)Delete the selection
escape (drawing)Clear the selection
secondary-zUndo
secondary-shift-zRedo
secondary-aSelect every node and edge (drawing), or all text
tab, shift-tab (drawing)Select the next or previous node
secondary-g (drawing)Group the selected nodes in a subgraph
alt-up, alt-down (drawing)Move the selected statement earlier or later

View

KeysAction
secondary-= or secondary-+Zoom in
secondary–Zoom out
secondary-0Actual size
secondary-9Fit the window
secondary-8Fit the selection
arrows (drawing)Pan; shift for further
secondary-scrollZoom

Mouse

GestureAction
clickSelect a node or edge, or clear the selection on empty space
shift-clickAdd to or remove from the selection
double-clickEdit a label; on empty space, add a node
right-clickThe menu for the item under the pointer or the selection
drag from a node to a nodeConnect them
drag from a node to empty spaceAdd a node linked from it
drag a node onto a subgraphMove it into the subgraph
drag empty space, or scrollPan