Using archr

Settings

A project's settings, your own, and what each one does.

Settings are in two files, both written with every setting commented out, to explain them.

A project's settings

.archr/config.toml holds a project's settings, committed with it.

ignore = ["*_templ.go"]   # in .gitignore's syntax, left out everywhere
generated = ["go.sum"]    # made by tools: shown collapsed in reviews

.archr/agent.md holds the project's conventions for agents. archr agent prints it after archr's own guide.

Your own settings

~/.config/archr/config.toml holds your own settings. It takes ignore and generated too, which add to each project's. Only it can set these:

nerd_font = false          # plain status bar separators
changes_only = "commits"   # always (the default), commits or never
fold = false               # start the reader unfolded
ignore_whitespace = true   # leave whitespace-only changes out
wrap = false               # cut long lines rather than wrap them
tree = false               # start with the tree hidden
hint_delay = 400           # wait before showing what can follow ] [ or g
Setting Key that toggles it
changes_only f
fold u
ignore_whitespace w
wrap s
tree t

archr says on opening when either file holds a setting it does not take.

Colours

Colours come from the terminal's 16-colour palette, and the band behind a note, the tints behind changed lines and the grey of what is dim from the background the terminal reports. In a terminal that does not report it, what is dim is the palette's bright black. archr has no theme of its own: it follows yours.