Qoder CLI CN's themes, status line, keyboard shortcuts, Vim mode, and voice input
Qoder CLI CN's interactive interface (TUI) offers customizable options such as themes, the status line, keyboard shortcuts, Vim editing mode, and voice input. Configuring these interface options well makes the terminal experience smoother and better suited to personal habits.This page covers interface-related configuration and operations. For settings file layering and merge rules, see Settings Files and Precedence.
ui.autoThemeSwitching (on by default) automatically switches between the default light and dark themes based on the terminal background color. The polling interval for the terminal background color is controlled by ui.terminalBackgroundPollingInterval (default 60 seconds).
The status line shows below the input box. The built-in default status line shows information such as model · workspace · +N -N (model name, working directory, code line additions/deletions), and elides lower-priority segments by priority when the terminal is too narrow.
You can run a custom shell command to produce the status line content. The command receives session data as JSON via stdin (including session ID, working directory, model, context usage, Git branch, Vim mode, etc.), and its standard output (ANSI colors included) is displayed below the input box:
Run /statusline in the interactive interface to use the built-in status line configuration capability, which reads your shell configuration and generates the script automatically.
For the built-in default status line, customize segment colors (such as model, branch, separator) via statusLine.colors. Color values can be hex (like #ff6600), ANSI names (like red, cyan), or natural-language color names (like ocean blue). Leaving a value empty uses the theme default. The context progress bar ignores custom colors and changes color automatically by usage (green/yellow/red).
Run /editor to configure the external editor used for editing input. Once configured, pressing Ctrl+X opens the current input in that editor — handy for writing longer prompts.
Run /voice to enable voice input, converting speech to text via speech recognition. The speech recognition service address can be specified with the QODER_ASR_URL environment variable.