Skip to content

Configuration

sivtr uses a TOML config file. The default path follows the platform config directory.

Terminal window
sivtr config show
sivtr config init
sivtr config edit
CommandBehavior
sivtr config showPrint config path and effective file content or defaults
sivtr config initCreate the default config if it does not exist
sivtr config editCreate the config if needed and open it in the configured editor
[general]
open_mode = "tui"
preserve_colors = true
[editor]
command = ""
[history]
auto_save = true
max_entries = 0
[copy]
prompts = []
[hotkey]
chord = "alt+y"
[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.

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.