gilvt

配置

配置文件是 ~/.config/gilvt/config.toml,所有字段都可选:

font_family = "Menlo"
font_size = 13.0
line_height = 1.25
fallback_fonts = ["PingFang SC", "Apple Color Emoji"]
theme = "system"          # system | light | dark | 主题名 | { light = "…", dark = "…" }(见「主题」)
scrollback = 100000
option_as_meta = true     # Option 作为 Meta
kitty_keyboard = true
shell_integration = true

[agent]
claude_commands = ["claude"]            # 被识别为 Agent 的命令名
codex_commands = ["codex"]              # 包装脚本也写进来,如 ["codex", "codex-w"]
claude_launch = "claude"                # 恢复 / 新建时输入的命令名
codex_launch = "codex"

[notify]
dock_bounce = true

[update]
mode = "download"         # download | check | off(见「更新」)

[remote]
install = "ask"          # ask | always | never(见「SSH 远程」)

[colors]                  # 可选:在主题之上单项覆盖
# background = "#1b1b26"

用 codex-w 这类包装脚本启动 Codex 时,把它加进 codex_commands(gilvt 才会识别它),并把 codex_launch 设为它,恢复和新建就会用它。如果你已经给 claude 定义了别名,gilvt 不会覆盖;想让它也被识别,把别名改为 alias claude='gilvt_agent claude claude --model opus'。

gilvt 自己的状态(重命名、静音、界面宽度、会话索引缓存)保存在 ~/Library/Application Support/gilvt/state/。