Docs /Getting Started /Keyboard shortcuts
Getting StartedReference

Keyboard shortcuts

The shortcuts worth learning, grouped by what you're doing. ⌘ on Mac is Ctrl on Windows and Linux unless a row says otherwise.

Running SQL

ActionMacWindows / Linux
Run query⌘EnterCtrlEnter
Format SQL⇧⌘FCtrlShiftF
Run diagnostics⇧⌘DCtrlShiftD
Convert to pipe syntax⌥⌘PCtrlAltP
Convert from pipe syntax⌥⌘SCtrlAltS

Getting around

ActionMacWindows / Linux
Command palette⌘K or F1CtrlK or F1
Query history⇧⌘HCtrlShiftH
Compare queries⇧⌘CCtrlShiftC
Go to definitionF12F12
Peek definition (currently behaves like Go to definition — selects the target, no inline preview)⌘F12CtrlF12
Find references⇧F12ShiftF12
Rename symbolF2F2

Talking to Prism AI

ActionMacWindows / Linux
Toggle the Prism AI panel⌘ICtrlI
Edit selected SQL with AI⌃⌘ICtrlWinI

Editing

ActionMacWindows / Linux
Trigger completions⌃SpaceCtrlSpace
Accept ghost textTabTab
Expand SELECT * to columnsTabTab
Toggle comment⌘/Ctrl/
lowercase selection⌥⌘LCtrlAltL
UPPERCASE selection⇧⌘UCtrlShiftU

Tab expands a wildcard only when the caret is on the * of a SELECT * or SELECT t.* that already has its FROM clause — the same gesture SQL Prompt uses in SSMS. Everywhere else Tab keeps its usual job, so it still indents, walks snippet placeholders and accepts suggestions. SELECT a * b multiplies, so Tab indents there. The same expansion is on the right-click menu if you’d rather point at it.

Managing tabs

ActionMacWindows / Linux
New query tab⌘ECtrlE
New notebook tab⇧⌘ECtrlShiftE
Close tab⌥⌘W or middle-clickCtrlAltW or middle-click

Exporting results

ActionMacWindows / Linux
Export to Sheets — update⇧⌘GCtrlShiftG
Export to Sheets — append⇧⌘ACtrlShiftA
Export dialog (Export to Google Sheets…; asks for Google Drive access first if it hasn’t been granted)⇧⌘XCtrlShiftX

Zooming the desktop app

Desktop app only — these are the View menu’s accelerators. In the browser, use the browser’s own zoom.

ActionMacWindows / Linux
Zoom in⌘+Ctrl+
Zoom out⌘−Ctrl−
Reset zoom⌘0Ctrl0