Keyboard Shortcuts
Because the Kvery editor is built on Monaco (the VS Code editor engine), it supports the rich keyboard editing you already know, plus Kvery's own run actions.
Editing shortcuts (from Monaco)
These standard editor shortcuts work in Kvery. On macOS use Cmd in place of Ctrl.
| Action | Shortcut |
|---|---|
| Command palette | F1 |
| Find | Ctrl + F |
| Replace | Ctrl + H (macOS: Cmd + Alt + F) |
| Multi-cursor (add cursor) | Alt + click |
| Select next occurrence | Ctrl + D |
| Move line up / down | Alt + ↑ / ↓ |
| Copy line up / down | Shift + Alt + ↑ / ↓ |
| Comment line | Ctrl + / |
| Indent / outdent | Tab / Shift + Tab |
| Undo / redo | Ctrl + Z / Ctrl + Y (macOS: Cmd + Shift + Z) |
Kvery shortcuts
On the page where you edit a saved query, Kvery adds its own shortcuts. On macOS use Cmd in place of Ctrl.
| Action | Shortcut |
|---|---|
| Save the query (Save) | Ctrl + S |
| Save and run the query (Save and Run) | Ctrl + R |
| Open the query's Log | Ctrl + L |
| Open the query's History | Ctrl + H |
| Format the SQL in the editor | Shift + Alt + F |
While the cursor is in the SQL editor, the editor's own shortcuts on the same keys take precedence: Ctrl + L selects the current line, and on Windows and Linux Ctrl + H opens Replace.
Autocomplete
Trigger suggestions manually with Ctrl + Space. As you type table and column names, autocomplete offers matches from your schema, plus snippets and Kvery directives.
Running queries
Use Save and Run (Ctrl + R) to save the current query, execute it against the selected connection and see its results immediately. You can keep several queries open and switch between them while you work.
If you are editing a query that is already live, run it from a draft so you can test your changes before publishing.