Primary

Keyboard shortcuts

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

ActionShortcut
Command paletteCtrl + K
Go to object… (search any table, view, function, column)Ctrl + P
ActionShortcut
Go to connectionsCtrl + Shift + C
Go to queryCtrl + Shift + Q
Next connectionCtrl + Shift + X

Query

ActionShortcut
New query tabCtrl + N
Close query tabCtrl + W
Run queryCtrl + Enter
Cancel running queryCtrl + .
Format SQLCtrl + Shift + F
Query historyCtrl + Shift + H
Saved queriesCtrl + Shift + S

View & application

ActionShortcut
Toggle sidebarCtrl + B
Toggle fullscreenF11 (⌘⌃F on macOS)
QuitCtrl + Q