Skip to content

Config File

sivtr uses the platform config directory:

PlatformCurrent 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.

[general]
open_mode = "tui"
preserve_colors = true
[editor]
command = "nvim"
[history]
auto_save = true
max_entries = 0
[copy]
prompts = ["PS C:\\repo> ", "dev>"]
[hotkey]
chord = "alt+y"
[general]
open_mode = "tui"
preserve_colors = true
KeyTypeDefaultMeaning
open_mode"tui" or "editor""tui"Where captured output opens
preserve_colorsbooleantruePreserve original ANSI colors in TUI display
[editor]
command = "nvim"
KeyTypeDefaultMeaning
commandstring""Editor command. Empty means auto-detect.

Examples:

command = "hx"
command = "nvim"
command = "vim"
command = "code --wait"
[history]
auto_save = true
max_entries = 0
KeyTypeDefaultMeaning
auto_savebooleantrueSave captured output to history
max_entriesinteger0Maximum entries to retain. 0 means unlimited.
[copy]
prompts = []
KeyTypeDefaultMeaning
promptsstring 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.

[hotkey]
chord = "alt+y"
KeyTypeDefaultMeaning
chordstring"alt+y"Chord used by sivtr hotkey start