Keyboard shortcuts and mouse gestures
The keys and gestures you'll use most, all on one page. Working without a mouse? Press ? in the app to see how. On Windows and Linux, use Ctrl wherever you see ⌘.
Create
- Drag from the edge of a table – draw a foreign key (drop it on an empty spot to create a new table at its end)
- N – add a note beside the selected table or foreign key, or in the middle of the view
Edit
- Enter / Double-click – edit a table, foreign key, or note on the canvas
- Tap on a tablet – edit a table or foreign key
- Drag either end of a selected foreign key – move that end to another table
- Delete / Backspace – delete the selection
- ⌘Z – undo
- ⌘⇧Z / ⌘Y – redo
- ⌘D – duplicate
- ⌘C / ⌘V / ⌘X – copy, paste, and cut
- Arrow keys – nudge the selection 1 px (10 px with Shift)
- R – reverse the direction of the selected foreign keys
Select
- ⌘A – select all
- ⌘-drag on empty canvas – select everything inside the box you drag
- Shift+drag on empty canvas – add everything inside the box to the selection
- Shift+click / ⌘-click – add to or remove from the selection
- Esc – deselect or cancel
View
- Drag on empty canvas / Space+drag – pan the canvas
- Scroll wheel / Pinch on a trackpad or touch screen – zoom
- + / − – zoom in or out
- 0 – zoom to fit
- L – switch to the Layers tab and back
File and help
- ⌘S – save as file
- ⌘O – open file
- ⌘E – export
- ? – open help
In text fields and notes
- Enter – save
- Shift+Enter – start a new line in a note
- Tab – move between Column, Data type, and Example
- ⌘B / ⌘I – bold and italic in a note
Right-click
Right-click an empty spot on the canvas (Control-click on a Mac) to add a table or a note right where you clicked.