Dory Docs
Reference

Keyboard Shortcuts

Dory keyboard shortcuts are optimized for fast SQL exploration: write a query, ask AI for help, run it, inspect results, and save the useful version without leaving the keyboard.

On macOS, use Cmd where this page says Cmd/Ctrl. On Windows and Linux, use Ctrl.

SQL editor

ShortcutActionNotes
Cmd/Ctrl + EnterRun queryRuns the active SQL tab. If text is selected, use the selection as the query context where supported by the editor flow.
Cmd/Ctrl + Shift + FFormat SQLFormats the SQL in the active editor.
Cmd/Ctrl + SSave SQLOpens the save dialog for the current SQL text.
Cmd/Ctrl + Alt + LNew SQL tabCreates and activates a new query tab.
/ on an empty editor lineInline Ask AIOpens the inline AI prompt at the current line.
/ elsewhereType a slashIf the current line already has SQL text, the slash is inserted normally.

AI panel

ShortcutActionNotes
Cmd/Ctrl + IToggle AI Chat panelOpens or closes the SQL Console AI panel for the active SQL tab.
/ outside editable controlsOpen inline Ask AIWorks when the active tab is a SQL tab and focus is not already inside another input.

Result table

ShortcutActionNotes
Cmd/Ctrl + FSearch resultsOpens result-table search when the result table is active.
Cmd/Ctrl + CCopy selected cellsCopies selected result cells from the virtualized table.

Saved queries

ShortcutActionNotes
Cmd/Ctrl + SSave current SQLUse this when a query becomes reusable enough to name, organize, and share.

Practical workflow

  1. Press Cmd/Ctrl + Alt + L to start a clean tab.
  2. Type / on an empty line to ask Dory AI for a query draft.
  3. Review the SQL, then press Cmd/Ctrl + Shift + F to format it.
  4. Press Cmd/Ctrl + Enter to run the query.
  5. Use Cmd/Ctrl + F to search the result table.
  6. Press Cmd/Ctrl + S to save the finished query.

Troubleshooting shortcuts

ProblemFix
Browser search opens instead of result searchClick inside the result table, then press Cmd/Ctrl + F again.
/ types a slash instead of opening AIMove to an empty editor line, or make sure focus is not inside another input.
Cmd/Ctrl + S triggers browser saveMake sure the SQL Console page is focused.
Shortcut conflicts with OS settingsChange the OS or browser shortcut if it intercepts the key before Dory receives it.

On this page