Skip to content

config.toml

Cortland reads ~/.config/cortland/config.toml and creates it with defaults on first launch. Changes apply live, with no restart. Preferences writes the same file, and Edit Config File in the command palette opens it.

The schema is the same on both platforms, and a key one platform doesn’t use is ignored there, so one file can serve both machines. A file that fails to parse is ignored until it parses again, so a half-saved edit never resets your settings.

[theme]
name = "catppuccin-mocha" # catppuccin-mocha | catppuccin-macchiato | catppuccin-frappe
# | catppuccin-latte | min-light | auto (follow macOS)
[font]
family = "Menlo"
size = 13
bold_is_bright = true
[window]
padding = 8
opacity = 0.9
enable_blur = true

Drop custom palettes, in the same JSON schema as the built-in themes, into ~/.config/cortland/themes/.

[cursor]
shape = "block" # block | ibeam | underline
blink = true
[behavior]
scrollback_lines = 10000 # -1 for unlimited
scroll_on_output = false
scroll_on_keystroke = true
allow_hyperlinks = true
clipboard_write = true # let programs copy to the clipboard (OSC 52)
mouse_autohide = true
audible_bell = false
restore_session = true # tabs, splits, and directories
confirm_close = true
[shell]
program = "" # "" uses $SHELL
args = []
default_cwd = "~"
integration = true # Linux: load shell integration into bash/zsh automatically
[editor]
file_open_mode = "terminal" # terminal ($EDITOR / nvim) | builtin
font_family = ""
font_size = 13
word_wrap = true
show_hidden_files = false
live_reload = true
markdown_read_mode = false
[diff]
context_lines = 3
# font_size = 13 # unset follows [editor] font_size
[changes]
show_on_agent_done = "split" # split | tab | off

See Built-in editor and Reviewing changes.

[approval]
mode = "ask" # ask | auto | review | bypass
auto_allow = []
always_ask = []
worktree_auto_approve = false
[handoff]
# prompt = "Summarize where we are into {path}."
[commit_message]
provider = "auto" # auto | ollama | claude | codex | gemini | off
ollama_model = ""
[telemetry]
# Override a price, or add a model (USD per million tokens):
# [telemetry.rates."claude-opus-5-5"]
# input = 4.0
# output = 20.0
# cache_read = 0.20
[skills] # Linux
delegate = false # install the delegate skill for each agent

See Approving edits, Continue in Fresh Session, AI commit messages, and the delegate skill.

Notifications Linux only

Section titled “Notifications ”
[notifications]
enabled = false
needs_input = false
finished = false
command_failed = false
long_running_command = false
long_running_threshold_seconds = 30
background_grace_seconds = 0
[sandbox]
enabled = false
auto_approve = true
allow_network = true
extra_rw = []
extra_ro = []
env = []

See Sandboxed panes for [[sandbox.profile]].

[arcade]
enabled = false