Skip to content

TUI Keybindings

Crucible’s terminal UI supports readline-style editing and custom shortcuts.

Standard readline keybindings for the input box:

KeyAction
Ctrl+AMove to beginning of line
Ctrl+EMove to end of line
Ctrl+WDelete word backward
Ctrl+UDelete to beginning of line
Ctrl+KDelete to end of line
Alt+BMove word backward
Alt+FMove word forward
Ctrl+TTranspose characters
KeyAction
Up/DownScroll conversation history
PageUp/PageDownScroll by page
HomeScroll to top
EndScroll to bottom
Ctrl+CCancel current operation / Exit
KeyAction
Shift+TabCycle mode: Default → Plan → Auto → Default

See Modes for details on what each mode does.

KeyAction
Alt+TToggle reasoning panel (for thinking models)
Alt+MToggle mouse capture mode

When using models that support extended thinking (Claude with thinking budget, Qwen3-thinking, DeepSeek-R1, etc.), press Alt+T to show or hide the reasoning panel. This displays the model’s internal thought process.

Thinking Budget: Configure via :set thinkingbudget=<value> or use presets like high, medium, low. See Commands for details.

When thinking is visible:

  • Reasoning tokens appear in a bordered panel above the response
  • Token count displays in the status bar
  • Thinking content is styled with dimmed text

By default, mouse capture is enabled for scrolling. Press Alt+M to toggle:

  • Enabled: Scroll with mouse wheel, application handles selection
  • Disabled: Terminal-native text selection works

With mouse capture enabled, you can select text by clicking and dragging. Selected text is automatically copied to the clipboard on mouse release.

Selection works across:

  • User messages
  • Assistant responses
  • Code blocks
  • Tool outputs

When a popup menu is open (commands, agents, files):

KeyAction
Up/DownNavigate items
EnterSelect item
EscapeClose popup
TabAccept completion
TypeFilter items
PrefixPurposeExample
/Slash commands/commit, /search
@Context references@agent-name, @file.md
[[Note references[[My Note]], [[Help/Config]]
:REPL commands:set, :model, :quit, :help
!Shell execution!ls -la, !git status
  • / triggers after whitespace or at line start
  • @ opens a popup to autocomplete workspace files or agent names
  • [[ opens a popup to autocomplete notes from your kiln (wikilink syntax)
  • : triggers at line start for REPL commands
  • ! opens a shell modal with streaming output