Every keyboard shortcut in PgCraft — the command palette, running queries, navigation, and more.
PgCraft is keyboard-driven. The fastest way to find anything is the command palette (Ctrl + K), which lists every action and its shortcut.
Shortcuts below use Ctrl (Linux). On macOS, Ctrl becomes ⌘ (Command). PgCraft shows the right modifier for your platform.
General
| Action | Shortcut |
|---|
| Command palette | Ctrl + K |
| Go to object… (search any table, view, function, column) | Ctrl + P |
Navigation
| Action | Shortcut |
|---|
| Go to connections | Ctrl + Shift + C |
| Go to query | Ctrl + Shift + Q |
| Next connection | Ctrl + Shift + X |
Query
| Action | Shortcut |
|---|
| New query tab | Ctrl + N |
| Close query tab | Ctrl + W |
| Run query | Ctrl + Enter |
| Cancel running query | Ctrl + . |
| Format SQL | Ctrl + Shift + F |
| Query history | Ctrl + Shift + H |
| Saved queries | Ctrl + Shift + S |
View & application
| Action | Shortcut |
|---|
| Toggle sidebar | Ctrl + B |
| Toggle fullscreen | F11 (⌘⌃F on macOS) |
| Quit | Ctrl + Q |