sivtr uses the platform config directory:
| Platform | Current path |
|---|
| Windows | %APPDATA%\sivtr\config.toml |
| macOS | ~/Library/Application Support/sivtr/config.toml |
| Linux | ~/.config/sivtr/config.toml |
If a legacy sift/config.toml exists, sivtr reads it for compatibility.
prompts = ["PS C:\\repo> ", "dev>"]
| Key | Type | Default | Meaning |
|---|
open_mode | "tui" or "editor" | "tui" | Where captured output opens |
preserve_colors | boolean | true | Preserve original ANSI colors in TUI display |
| Key | Type | Default | Meaning |
|---|
command | string | "" | Editor command. Empty means auto-detect. |
Examples:
| Key | Type | Default | Meaning |
|---|
auto_save | boolean | true | Save captured output to history |
max_entries | integer | 0 | Maximum entries to retain. 0 means unlimited. |
| Key | Type | Default | Meaning |
|---|
prompts | string array | [] | Prompt profiles or literal prefixes used when detecting command lines |
prompt_presets is a legacy field and is not serialized by the current config writer.
| Key | Type | Default | Meaning |
|---|
chord | string | "alt+y" | Chord used by sivtr hotkey start |