Docs
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 queryEnterCtrlEnter
Format SQLFCtrlShiftF
Run diagnosticsDCtrlShiftD
Convert to pipe syntaxPCtrlAltP
Convert from pipe syntaxSCtrlAltS

Getting around

ActionMacWindows / Linux
Command paletteK or F1CtrlK or F1
Query historyHCtrlShiftH
Compare queriesCCtrlShiftC
Go to definitionF12F12
Peek definition (currently behaves like Go to definition — selects the target, no inline preview)F12CtrlF12
Find referencesF12ShiftF12
Rename symbolF2F2

Talking to Prism AI

ActionMacWindows / Linux
Toggle the Prism AI panelICtrlI
Edit selected SQL with AIICtrlWinI

Editing

ActionMacWindows / Linux
Trigger completionsSpaceCtrlSpace
Accept ghost textTabTab
Toggle comment/Ctrl/
lowercase selectionLCtrlAltL
UPPERCASE selectionUCtrlShiftU

Managing tabs

ActionMacWindows / Linux
New query tabECtrlE
New notebook tabECtrlShiftE
Close tabW or middle-clickCtrlAltW or middle-click

Exporting results

ActionMacWindows / Linux
Export to Sheets — updateGCtrlShiftG
Export to Sheets — appendACtrlShiftA
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 outCtrl
Reset zoom0Ctrl0