Skip to content

Keyboard Shortcuts

ERDHub supports keyboard shortcuts for common actions. All shortcuts work in the editor view.

Application Shortcuts

ActionMacWindows / Linux
Save projectCmd+SCtrl+S
New projectCmd+NCtrl+N
Open projectsCmd+OCtrl+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.

ActionMacWindows / Linux
UndoCmd+ZCtrl+Z
RedoCmd+Shift+ZCtrl+Y
Select allCmd+ACtrl+A
FindCmd+FCtrl+F
Find and replaceCmd+HCtrl+H
Go to lineCmd+GCtrl+G
Indent lineTabTab
Outdent lineShift+TabShift+Tab
Move line upAlt+UpAlt+Up
Move line downAlt+DownAlt+Down
Toggle commentCmd+/Ctrl+/
Delete lineCmd+Shift+KCtrl+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

ActionControl
PanClick and drag on canvas background
Zoom in/outScroll wheel
Select tableClick on a table node
Move tableDrag 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.