Themes, Status Bar, Keyboard Shortcuts, Vim Mode, and Voice Input in Qoder CLI
The interactive interface (TUI) of Qoder CLI offers customizable options such as themes, the Status Bar, Keyboard Shortcuts, Vim edit mode, and Voice Input. Properly configuring these UI options makes your terminal experience smoother and more tailored to your personal habits.This page covers UI-related configurations and operations. For the layering and merging rules of configuration files, see Configuration Files and Application Order.
ui.autoThemeSwitching (enabled by default) automatically switches between the default Light and Dark Theme based on the terminal's background color. The polling interval for the terminal background color is controlled by ui.terminalBackgroundPollingInterval (default: 60 seconds).
The Status Bar is displayed below the Input Box. The built-in default Status Bar displays information such as model · workspace · +N -N (model name, Working Directory, lines of code added/removed) and automatically hides lower-priority segments when the terminal width is insufficient.
You can run a custom shell command to generate the Status Bar content. This 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 (including ANSI colors) is displayed below the Input Box:
Running /statusline in the interactive interface leverages the built-in Status Bar configuration capabilities to automatically read your shell configuration and generate a script.
For the built-in default Status Bar, you can customize the Paragraph Color for each segment via statusLine.colors (e.g., model, branch, separator). Color values can be hexadecimal (e.g., #ff6600), ANSI names (e.g., red, cyan), or natural language color names (e.g., ocean blue). Leaving a value blank applies the theme's default color. The context progress bar ignores custom colors and automatically changes color (green/yellow/red) based on usage.
Run /editor to configure the External Editor used for editing input. Once configured, pressing Ctrl+X opens the current input content in that editor, which is ideal for writing longer prompts.
Run /voice to enable Voice Input, which converts speech to text via speech recognition. The speech recognition service address can be specified via the Environment Variable QODER_ASR_URL.