Skip to content

Keyboard Shortcuts

SoftDB is designed to keep your hands on the keyboard. Most actions in the SQL Editor, data grid, and connection hub have shortcuts so you can move fast without reaching for the mouse.

These shortcuts work when the Monaco editor is focused.

ActionWindows / LinuxmacOS
Execute queryCtrl+ECmd+E
Explain queryCtrl+Shift+ECmd+Shift+E
Optimize with AICtrl+Shift+OCmd+Shift+O
Save as snippetCtrl+SCmd+S
Trigger autocompleteCtrl+SpaceCtrl+Space
Comment / uncomment lineCtrl+/Cmd+/
Format (indent) selectionTabTab
Go to lineCtrl+GCmd+G
Find in editorCtrl+FCmd+F
Select allCtrl+ACmd+A
UndoCtrl+ZCmd+Z
RedoCtrl+Shift+ZCmd+Shift+Z

These shortcuts work when a cell or the grid is focused.

ActionKey
Start editing a cellEnter or double-click
Confirm cell editEnter or Tab
Cancel cell editEscape
Navigate between cellsArrow keys
Move to next cell (edit mode)Tab
Move to previous cell (edit mode)Shift+Tab
Select all text in cellCtrl+A / Cmd+A (while editing)
ActionKey
Close drawerEscape
ActionWindows / LinuxmacOS
Open connection searchCtrl+KCmd+K
Close modal or panelEscapeEscape

The SQL Editor is powered by Monaco (the same editor as VS Code), so standard Monaco shortcuts also work:

ActionWindows / LinuxmacOS
Move line upAlt+UpOption+Up
Move line downAlt+DownOption+Down
Duplicate lineShift+Alt+DownShift+Option+Down
Delete lineCtrl+Shift+KCmd+Shift+K
Add cursor aboveCtrl+Alt+UpCmd+Option+Up
Add cursor belowCtrl+Alt+DownCmd+Option+Down
Select next occurrenceCtrl+DCmd+D
Select all occurrencesCtrl+Shift+LCmd+Shift+L

For the full Monaco keyboard reference, see the VS Code keyboard shortcuts documentation.