Appearance
Keyboard Shortcuts
ERDHub supports keyboard shortcuts for common actions. All shortcuts work in the editor view.
Application Shortcuts
| Action | Mac | Windows / Linux |
|---|---|---|
| Save project | Cmd+S | Ctrl+S |
| New project | Cmd+N | Ctrl+N |
| Open projects | Cmd+O | Ctrl+O |
| Toggle left pane (editor) | Cmd+[ | Ctrl+[ |
| Toggle right pane (schema panel) | Cmd+] | Ctrl+] |
Editor Shortcuts
These shortcuts work when the DSL code editor is focused. They follow standard CodeMirror conventions.
| Action | Mac | Windows / Linux |
|---|---|---|
| Undo | Cmd+Z | Ctrl+Z |
| Redo | Cmd+Shift+Z | Ctrl+Y |
| Select all | Cmd+A | Ctrl+A |
| Find | Cmd+F | Ctrl+F |
| Find and replace | Cmd+H | Ctrl+H |
| Go to line | Cmd+G | Ctrl+G |
| Indent line | Tab | Tab |
| Outdent line | Shift+Tab | Shift+Tab |
| Move line up | Alt+Up | Alt+Up |
| Move line down | Alt+Down | Alt+Down |
| Toggle comment | Cmd+/ | Ctrl+/ |
| Delete line | Cmd+Shift+K | Ctrl+Shift+K |
TIP
Toggle the left or right pane to maximize canvas space when you are arranging your diagram visually. Use Cmd+[ and Cmd+] (or Ctrl+[ / Ctrl+]) to quickly switch between writing and visual modes.
Canvas Shortcuts
| Action | Control |
|---|---|
| Pan | Click and drag on canvas background |
| Zoom in/out | Scroll wheel |
| Select table | Click on a table node |
| Move table | Drag a table node |
TIP
There are no hidden shortcuts — everything above is the complete list. If you find yourself repeating a mouse action frequently, the pane toggle shortcuts (Cmd+[ / Cmd+]) are the ones most worth memorizing.