Docs / Keyboard shortcuts

Keyboard shortcuts

MamaSQL is built for the keyboard. Symbols below use the Mac ; on Windows and Linux, swap it for Ctrl. Press ? anywhere in the app to bring up this list, or K for the command palette.

Editor

ActionShortcut
Execute query (or selection)
Trigger autocomplete Space
Format SQL F
Toggle line comment /
Duplicate line / selection D
Move line up / downAlt
Indent / outdentTab ⇧Tab
Wrap selection in brackets / quotes( [ "
Switch editor tabAlt 1–9
ActionShortcut
Command palette K
Navigate suggestions / palette
Show keyboard shortcuts?
Close popups & menusEsc

Results & data grid

ActionShortcut
Copy selected cellCtrl C
Select cell / edit cellClick / Dbl-click
Context menu (tree / tables)Right-click