Keyboard shortcuts

Every shortcut in one reference: palette, panels, grid navigation, editing, and Vim mode.

The searchable keyboard shortcut sheet grouped by panel

Press F1 in the app for the same list, searchable. On macOS, use Cmd where it says Ctrl.

Anywhere

KeysAction
Ctrl+PCommand palette: every action, table and snippet
Ctrl+OOpen or manage connections
Ctrl+TJump to a table or view
F1Searchable list of shortcuts
Alt+1…9Switch between open connections
Alt+PageDown / PageUpNext or previous connection
Ctrl+1 … Ctrl+6Focus Explorer, editor, results, Inspector, agent, Results 2
Ctrl+H / J / K / LMove to the panel on the left, below, above, right
Ctrl+Shift+ZZoom the active panel
Ctrl+WClose the active table tab, draft or panel
Ctrl+Shift+WClose the active table tab from any panel
F5Refresh the active data
Ctrl+Shift+RResync the connection

Explorer

KeysAction
j / k, gg / G, Ctrl+D / UMove through the list
/Filter the tree
Right or lExpand a schema, group or table
Left or hCollapse
EnterOpen a table, or show an object's details
y or Ctrl+CCopy an object's definition
EscClose the details

Results and Inspector

KeysAction
j / k, h / lMove between rows and columns
0 / $, gg / GFirst or last column, first or last row
Ctrl+D / UPage down or up
Alt+Left / RightPrevious or next page of a table
s / Shift+SSort ascending or descending
tCycle Data, Columns, Indexes, Keys, DDL
rRefresh
iInspect the referenced row
/Find in the loaded rows (n / N for next and previous)
f / Shift+FKeep or exclude the selected value locally
uClear local filters
= / <>Filter the table by the selected value
q / dDraft SELECT WHERE / SELECT DISTINCT
EnterFocus the Inspector
vStart a rectangular selection
y or Ctrl+CCopy the selection

Right-click a column header to hide, move or auto-fit columns; right-click a cell to copy it as CSV, JSON, Markdown or SQL.

SQL editor

KeysAction
Ctrl+EnterRun the selection or the statement under the cursor
Ctrl+Shift+EnterRun all
Ctrl+Shift+EExplain
Ctrl+Shift+AExplain analyze
Ctrl+Shift+CCancel
Ctrl+NNew draft
Ctrl+Shift+HQuery history
Ctrl+Shift+O / Ctrl+SOpen / save a .sql file
Ctrl+Shift+KSave the draft as a snippet
Ctrl+SpaceAutocomplete
Ctrl+Shift+FFormat whitespace
Ctrl+/Comment or uncomment lines
Ctrl+DDuplicate the selection or line
Alt+Up / DownMove lines
Ctrl+F / Ctrl+Alt+FFind / find and replace
Ctrl+GGo to line
Ctrl+YRedo

With Draft → Vim mode on, normal mode supports h j k l, w / b, 0 / $, gg / G, Ctrl+D / U, /, n / N, and i a I A to start typing.