Skip to content

Commands

Open the command palette with ⌘⇧P on macOS or Ctrl+Shift+P on Windows and Linux, then type part of a command’s name. A command that does not apply to what is on screen, such as Commit transaction with no transaction open, is left out of the palette until it does.

This list is read from the app itself, so it matches the build it was published with.

Moving around

CommandShortcut
Save a diagnostics bundle…none
Open the logs foldernone
Keyboard shortcuts⌘/ / Ctrl+/
Home⌘⇧H / Ctrl+Shift+H
Commands…⌘⇧P / Ctrl+Shift+P
Go to…⌘P / Ctrl+P
Query history⌘Y / Ctrl+Y
Messagesnone
Toggle panel⌘J / Ctrl+J
Keyboard shortcuts settingsnone
Settings⌘, / Ctrl+,
Show Connections⌘⇧D / Ctrl+Shift+D
Show Explorer⌘⇧E / Ctrl+Shift+E
Show Migrationsnone
Show Performancenone
Show Saved queries⌘⇧B / Ctrl+Shift+B
Show Search⌘⌥F / Ctrl+Alt+F
Toggle sidebar⌘B / Ctrl+B
Go back to the previous tab⌃Minus / Ctrl+Minus
Close tab⌘W / Ctrl+W
Go forward to the next tab⌃⇧Minus / Ctrl+Shift+Minus
Go to the tab to the right⌃Tab / Ctrl+Tab
Go to the tab to the left⌃⇧Tab / Ctrl+Shift+Tab

Connections

CommandShortcut
Add environment…none
Connect your app…none
Disconnectnone
Export project…none
Import project…none
Save the database you are in as this connection’s databasenone
Lock editingnone
Open another database on this server…none
All connections…⌘⇧O / Ctrl+Shift+O
Unlock editing…none

Tables and rows

CommandShortcut
Find value in data…none
Row panel: back along the trailnone
Copy value as WHERE clausenone
Filter to this valuenone
Find this value in other tablesnone
Row panel: forward along the trailnone
Pin or unpin this fieldnone
Commit or apply staged changes⌘S / Ctrl+S
Copy table rows as CSVnone
Copy table rows as INSERT statementsnone
Copy table rows as JSONnone
Delete selected rownone
Discard staged changesnone
Export table as CSV…none
Export table as INSERT statements…none
Export table as JSON…none
Import CSV into this table…none
Insert rownone
Pin or unpin this table on Homenone
Review the query for staged changesnone
Filter rows⌘⇧F / Ctrl+Shift+F

Queries and SQL files

CommandShortcut
Open file…⌘O / Ctrl+O
Save query as file…⌘⇧S / Ctrl+Shift+S
Cancel query⌘. / Ctrl+.
Commit transactionnone
Copy results as CSVnone
Copy results as INSERTnone
Copy results as JSONnone
Delete saved querynone
Toggle dry runnone
Explain this query⌘⌥E / Ctrl+Alt+E
Explain this query with Analyzenone
Export results as CSV…none
Export results as INSERT statements…none
Export results as JSON…none
Format query⌥⇧F / Alt+Shift+F
New query⌘T / Ctrl+T
Open the result in its own windownone
Read the rest of the resultnone
Rename query…none
Rename saved query…none
Revert to saved querynone
Review this querynone
Roll back transactionnone
Run⌘↵ / Ctrl+Enter
Run script⌘⇧↵ / Ctrl+Shift+Enter
Run statementnone
Save query⌘S / Ctrl+S
Save as new query…none
Fill the tab with the resultnone

Editing a query

CommandShortcut
Delete line⌘⇧K / Ctrl+Shift+K
Duplicate line⌥⇧↓ / Alt+Shift+↓
Find⌘F / Ctrl+F
Go to line⌘⌥G / Ctrl+Alt+G
Indent⌘] / Ctrl+]
Change to lower casenone
Move line down⌥↓ / Alt+↓
Move line up⌥↑ / Alt+↑
Outdent⌘[ / Ctrl+[
Redo⌘⇧Z / Ctrl+Shift+Z
Replacenone
Select all matches⌘⇧L / Ctrl+Shift+L
Select next match⌘D / Ctrl+D
Toggle block comment⌥⇧A / Alt+Shift+A
Toggle casenone
Toggle line comment⌘/ / Ctrl+/
Undo⌘Z / Ctrl+Z
Change to upper casenone

Structure, Sketch and migrations

CommandShortcut
Promote…none
Diagram: show or hide the schema as code⌘` / Ctrl+`
Save schema as schema.sql…none
Show the next migrationnone
Bring in new migrations…none
Save as migration…none
From a recipe…none
Compare with…none
Swap the migration’s directionnone
Copy as migrationnone
Seed data…none
Reset to seednone
Show Sketch changesnone
Sketch this databasenone
This is real nownone
Redo the change undone last⌘⇧Z / Ctrl+Shift+Z
Undo the last change⌘Z / Ctrl+Z

Project folder

CommandShortcut
Start from a project's migrations…none
Locate project folder…none
Open project folder…none
What Alcuin read in the project foldernone
Rescan project foldernone
Show project foldernone

Postgres views

CommandShortcut
Show activitynone
Checkpoint…none
Show checkpointsnone
Show healthnone
New database…none
Show roles and grantsnone
Show schema diagramnone
Show seed datanone
Show top statementsnone

Assistant

CommandShortcut
Describe a schema with the assistantnone
Explain this plan with the assistantnone
Fix this error with the assistantnone
Toggle assistant⌘I / Ctrl+I

Appearance and updates

CommandShortcut
Toggle quiet highlightingnone
Colorway: Charcoalnone
Colorway: Columnsnone
Colorway: Dolphinnone
Colorway: Ducklingnone
Colorway: Elephantnone
Colorway: Embernone
Colorway: Feathernone
Colorway: Glaciernone
Colorway: Latticenone
Colorway: Leafnone
Colorway: Nightnone
Colorway: Daynone
Receive pre-release builds (toggle)none