TUI
TUI Keybindings
Every key the TUI understands.
Always available (Normal mode)
| Key | Action |
|---|---|
q | Quit |
Tab | Cycle focus between Tree and Grid |
: | Enter Command mode |
e | Open the SQL editor overlay |
/ | Enter fuzzy-search mode |
There's no
?/F1help. Run:qorqto exit.
Tree focus
| Key | Action |
|---|---|
j / Down | Select next item |
k / Up | Select previous |
Enter / l / Right | Expand / load table |
h / Left | Collapse |
r | Reload tree |
Grid focus
| Key | Action |
|---|---|
j / Down | Next row |
k / Up | Previous row |
h / Left | Scroll columns left |
l / Right | Scroll columns right |
Enter | Open row-detail overlay |
r | Reload current table |
Command mode (: then type)
Only four commands exist:
| Command | Action |
|---|---|
q / quit / exit | Quit the TUI |
ro / readonly | Switch to read-only |
rw / readwrite | Switch to read-write |
refresh | (hint only — actually press r on the tree) |
Anything else: "Unknown command". Esc cancels, Enter executes, Backspace deletes a character.
Search mode (/)
| Input | Action |
|---|---|
| characters | Append to query (real-time filter) |
Backspace | Delete last char |
Down / Up | Move through filtered matches |
Tab / BackTab | Jump to next / previous match |
Enter | Keep the filter, exit search |
Esc | Clear filter, exit search |
In search mode,
j/kare search characters, not navigation.
Editor overlay (e)
| Input | Action |
|---|---|
Ctrl+R | Execute SQL |
Esc | Close editor |
| everything else | Forwarded to the textarea |
The footer's "Ctrl+Enter" comment is wrong — it's actually
Ctrl+R.
Row detail overlay
Enter closes — Esc also closes. Other keys are ignored.