RaisDBRaisDB
TUI

TUI Keybindings

Every key the TUI understands.

Always available (Normal mode)

KeyAction
qQuit
TabCycle focus between Tree and Grid
:Enter Command mode
eOpen the SQL editor overlay
/Enter fuzzy-search mode

There's no ? / F1 help. Run :q or q to exit.

Tree focus

KeyAction
j / DownSelect next item
k / UpSelect previous
Enter / l / RightExpand / load table
h / LeftCollapse
rReload tree

Grid focus

KeyAction
j / DownNext row
k / UpPrevious row
h / LeftScroll columns left
l / RightScroll columns right
EnterOpen row-detail overlay
rReload current table

Command mode (: then type)

Only four commands exist:

CommandAction
q / quit / exitQuit the TUI
ro / readonlySwitch to read-only
rw / readwriteSwitch 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 (/)

InputAction
charactersAppend to query (real-time filter)
BackspaceDelete last char
Down / UpMove through filtered matches
Tab / BackTabJump to next / previous match
EnterKeep the filter, exit search
EscClear filter, exit search

In search mode, j / k are search characters, not navigation.

Editor overlay (e)

InputAction
Ctrl+RExecute SQL
EscClose editor
everything elseForwarded 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.

On this page