MyNixOS website logo

TUI-specific configuration written to $XDG_CONFIG_HOME/opencode/tui.json.

This includes theme, keybinds, scroll settings, and other TUI-only options. See https://opencode.ai/docs/tui#configure for the documentation.

Note that "$schema": "https://opencode.ai/tui.json" is automatically added.

Since OpenCode v1.2.15, TUI settings must be in a separate tui.json file. Settings like theme, keybinds, and tui in programs.opencode.settings are deprecated and should be moved here.

Declarations
Type
JSON value
Default
{ }
Example
{
  theme = "system";
  keybinds = {
    leader = "alt+b";
  };
}