Keyboard shortcuts
Anywhere
| Shortcut | Action |
|---|
| Ctrl+K | Open the command palette |
In the command palette, start with a prefix to narrow the search:
| Prefix | Searches |
|---|
> | Commands |
@ | Connections |
# | Tables and other resources |
Use the arrow keys, Home, End, Page Up and Page Down to move, and Enter to open.
Query tabs
| Shortcut | Action |
|---|
| Ctrl+T | New query tab |
| Ctrl+W | Close the current tab |
| Ctrl+Tab | Next tab |
| Ctrl+Shift+Tab | Previous tab |
| Ctrl+1 … 9 | Jump to tab 1–9 |
| F2 | Rename the focused tab |
Query editor
| Shortcut | Action |
|---|
| Ctrl+Enter | Run the selection, or the whole query if nothing is selected |
| Ctrl+Space | Show suggestions |
| Ctrl+/ | Comment or uncomment lines |
| Shift+Alt+A | Block comment |
| Ctrl+Z | Undo (accepting a suggestion is a single undo step) |
| Shortcut | Action |
|---|
| ↑ / ↓ | Move through suggestions |
| Enter | Insert the suggestion or snippet |
| Tab | Insert and continue, or jump to the next snippet placeholder |
| Shift+Tab | Previous snippet placeholder |
| Esc | Close |
Explorer
| Shortcut | Action |
|---|
| Enter | Connect or disconnect a connection; run an object's default action |
| Space | Select the item |
| F5 | Refresh the connection or item |
| Shift+F10 | Open the item's action menu |
Results grid
| Shortcut | Action |
|---|
| Ctrl+C | Copy the selected cells |
| Ctrl+Shift+C | Copy the selected cells with column headers |
Right-click for more copy formats: CSV, TSV, JSON and Markdown.
Pro
| Where | Shortcut | Action |
|---|
| Workspace | F2 | Rename the selected item |
| AI assistant | Enter | Send |
| AI assistant | Shift+Enter | New line |