Skip to content

Keybindings

This page lists the keyboard (and mouse) shortcuts available in the thndrs TUI.

Shortcuts are grouped by the context in which they apply.

Many editing shortcuts follow common readline-style conventions.

These shortcuts work from any mode unless otherwise noted.

Key Description
Ctrl+C Cancel a running stream; quit when idle
Ctrl+D, Ctrl+D Show quit confirmation; press again to quit
Ctrl+T Toggle the running input target (steering / follow-up)
Ctrl+O Open focused detail for failed/truncated tool output, diffs, warnings, or errors
? Open help overlay (only when the prompt is empty)
: Enter command mode (only when idle or after an error)

Cursor movement and text editing while in the prompt.

Key Description
Left or Ctrl+B Move cursor left
Right or Ctrl+F Move cursor right
Alt+Left, Ctrl+Left, or Alt+B Move cursor to the start of the previous word
Alt+Right, Ctrl+Right, or Alt+F Move cursor to the end of the next word
Home or Ctrl+A Move cursor to the start of the line
End or Ctrl+E Move cursor to the end of the line
Tab Accept the active suggestion (: command or @ path)
Shift+Enter or Ctrl+J Insert a newline in a multi-line prompt
Enter Submit the current prompt
Backspace Delete the character before the cursor
Delete Delete the character after the cursor (forward delete)

Move through previously submitted prompts.

Key Description
Up Recall older input from history
Down Recall newer input from history
Key Description
PageUp / PageDown Scroll by one visible page
Ctrl+PageUp / Ctrl+PageDown Scroll by half a visible page
Alt+Up / Alt+Down Scroll by one rendered row
Ctrl+Home / Ctrl+End Jump to oldest entry / latest entry

Available while the help overlay is open.

Key Description
Esc, ?, or Enter Close help overlay and return to prompt

Available while typing a : command.

Commands currently include clear, quit, exit, help, bg, bg cancel <id>, model, skills, doctor, auth status, config path, config show, setup, login, and logout.

Key Description
Esc Cancel command and return to prompt
Backspace Delete last character, or cancel command if empty
Enter Execute the typed command
Tab Accept completion for the active command suggestion
Any printable character Append to the command buffer

Available while the file picker overlay is open.

Key Description
Ctrl+P Open the file picker (from prompt)
Up / Down Move selection up / down
PageUp / PageDown Move selection up / down by a page
Enter Insert the selected path into the prompt
Esc Close the file picker without inserting
Backspace Remove the last character from the picker query
Any printable character Append to the picker query and filter results

Available after running :model.

Key Description
Up / Down Move selection up / down
PageUp / PageDown Move selection up / down by a page
Enter Switch to the selected model
Esc Close the model picker without changing models
Backspace Remove the last character from the picker query
Any printable character Append to the picker query and filter results

Mouse capture is disabled by default. Run with --mouse to enable transcript and picker scrolling:

Action Description
Scroll Up Scroll transcript up, or move picker selection up
Scroll Down Scroll transcript down, or move picker selection down