Keymaps

The TUI has two keymaps, chosen with tui.keymap in the config file or the :keymap command: default (arrows and PgUp/PgDn) and vim (the same keys plus hjkl and friends). Press F1 or ? in the TUI to see the keys for the current context. For the rest of the TUI, see the TUI guide.

ActionDefaultVim
move upupup k
move downdowndown j
move leftleftleft h
move rightrightright l
page uppguppgup ctrl+u
page downpgdownpgdown ctrl+d
go to topctrl+homectrl+home gg
go to bottomctrl+endctrl+end G
first columnhomehome
last columnendend

Panes

ActionDefaultVim
next pane (sidebar, grid, editor, AI panel)tabtab
previous paneshift+tabshift+tab
open / row detailenterenter
back / close; in the grid, focus the sidebarescesc
filter rowsff
filter sidebar//
cycle sortss

Grid

ActionDefaultVim
widen column>>
narrow column<<
copy cellyy
copy row as JSONYY
edit cell (grid or row detail)ee
insert a rowii
mark / unmark the row for deletion (grid or row detail)dd
set the edited cell to NULLctrl+nctrl+n
save a multi-line cell editctrl+sctrl+s
find rows similar to this one (vector collections)SS
row detail: collapse every node[[
row detail: expand every node]]
live tail the open collection (drivers with watch support)WW
live tail: pause / resumepp
live tail: clear the eventscc

App

ActionDefaultVim
command palette::
helpf1 ?f1 ?
quitqq
cancel a run, :apply, export or load (waits on a commit or rollback) / quitctrl+cctrl+c
open the AI panel / close itaa
AI panel: switch between ask and answerctrl+tctrl+t
fix a failed run with AI (on its error tab)ff
AI panel: load the proposed query into the editor (ctrl+enter / f5 also runs it)ctrl+octrl+o
AI panel: copy the proposed queryctrl+yctrl+y
add connectionnn
edit connectionEE
delete connectionDD

Editor

ActionDefaultVim
open / close the query editorctrl+ectrl+e
run the statement or selectionctrl+enter f5ctrl+enter f5
run the whole bufferalt+enter shift+f5alt+enter shift+f5
previous result tab[[
next result tab]]
close result tabxx
complete the name at the cursorctrl+spacectrl+space
search the query historyctrl+rctrl+r