Keyboard shortcuts
⌘ / shows this list inside the app (also Help › Keyboard Shortcuts).
Queries
| Shortcut | Action |
|---|---|
| ⌘ ↵ | Run the selection, the statement under the cursor, or the tab |
| ⌥ ⌘ ↵ | Run in a transaction |
| ⇧ ⌘ F | Format SQL |
| ⌘ L | Comment or uncomment |
| ⌘ S | Save staged edits (also in the Redis, MongoDB and notebook editors) |
| Tab | Expand a snippet |
| Esc | Show autocomplete |
Editor and files
| Shortcut | Action |
|---|---|
| ⌘ O | Open a SQL file |
| ⌥ ⌘ S | Save the query as a SQL file |
| ⌥ ⌘ F | Find in the editor |
| ⌘ = / ⌘ - | Zoom the editor in and out |
| ⌘ 0 | Reset the editor zoom |
Navigation
| Shortcut | Action |
|---|---|
| ⌘ K | Command palette |
| ⇧ ⌘ O | Global search for tables and columns |
| ⌘ F | Find in the table |
| ↑ ↓ | Previous and next match, or row in the row detail |
| ⌘ Y | Query history (from a query tab) |
| ⌘ B | Query Library (from a query tab) |
| ⇧ ⌘ A | Ask your data (from a query tab) |
Tabs and connections
| Shortcut | Action |
|---|---|
| ⌘ T | New query tab |
| ⌘ W | Close the tab (pinned tabs stay) |
| ⌘ R | Refresh: reload the table, re-run the query, reload the schema |
| ⌘ , | Settings |
Mouse
| Action | Result |
|---|---|
| Double-click a connection card | Connect |
| Double-click a cell | Edit it (editable grid) or inspect it (read-only grid) |
| ⌥-click a column header | Aggregate the column (read-only grid) |
| ⇧-click, ⌘-click rows | Select several rows |
