Configuration
sivtr uses a TOML config file. The default path follows the platform config directory.
Commands
Section titled “Commands”sivtr config showsivtr config initsivtr config edit| Command | Behavior |
|---|---|
sivtr config show | Print config path and effective file content or defaults |
sivtr config init | Create the default config if it does not exist |
sivtr config edit | Create the config if needed and open it in the configured editor |
Default config
Section titled “Default config”[general]open_mode = "tui"preserve_colors = true
[editor]command = ""
[history]auto_save = truemax_entries = 0
[copy]prompts = []
[hotkey]chord = "alt+y"Open in an editor by default
Section titled “Open in an editor by default”[general]open_mode = "editor"
[editor]command = "nvim"When open_mode is editor, pipe mode, run mode, and session import open captured text in the configured external editor instead of the built-in TUI.
Prompt detection
Section titled “Prompt detection”If your prompt is unusual, add literal prompt prefixes:
[copy]prompts = ["dev>", "repo $", "PS C:\\repo>"]This helps command-block parsing identify the command input lines in session logs.