Docs / Reference

Keyboard shortcuts

Updated

On Windows and Linux, use Ctrl where macOS uses ⌘. Press ? anywhere outside a text field (or choose Help → Keyboard Shortcuts, or Settings → About) to see this list in the app.

ShortcutWhat it does
⌘TNew SQL tab on the current database
⌘WClose the tab (asks first if its SQL isn't saved). On macOS, ⇧⌘W closes the window
⌘SSave the tab as a script
⌘,Open Settings
?Show the keyboard shortcuts (outside a text field)
⌘↵Run the query or script, or only the selected SQL
Ctrl+Space in the editorSuggest tables and columns
⌘F / ⌥⌘F in the editorFind / find and replace
⌘/ in the editorComment or uncomment lines
↵ in the Ask boxRun, once the SQL is written
⇧↵ in the Ask boxNew line
esc in the Ask boxClear the question
⌘⇧MStart or stop saying your question
⌘⇧A in the Ask boxSwitch between Quick and Investigate
esc while listeningCancel voice input
⌫ at the start of the Ask boxRemove the command or skill chip
/ at the start of the Ask boxOpen the command menu (↑ ↓ move, ↵ or Tab pick, esc close)
/investigateInvestigate the question in several read-only steps (Investigate)
/followupChange the current query
/newStart fresh, ignore the last query
/explainExplain the current query in plain English
/fixFix the current query or its error
/improveReview and improve the current query
/skill-nameAdd a saved skill's instruction to the question
⌘-click / ⇧-click a tableAdd to or remove from AI context / pick a range
Arrow keys, ↵, escMove through, choose in and close a right-click menu
↵ in the Save script dialogSave
escClose Settings or a dialog

Something missing or unclear? Ask in Discussions.