Settings
User preferences file and common keys.
Location
~/.config/diffing/settings.json
Per-repo UI session state (panel sizes, drafts, etc.) lives under ~/.diffing/<repo>-<hash>/ — not browser localStorage.
Common keys
Defaults may evolve; inspect your file or product source for the latest schema. Representative fields:
| Key | Role |
|---|---|
defaultMode | "web" | "tui" interactive default |
theme | Theme id (default rose-pine) |
diffStyle | "split" | "unified" |
defaultTabSize | Fallback tab width (editorconfig wins) |
editorIDE | default | vscode | zed | vim | neovim | ghostty |
lineDiffType | word | word-alt | char | none |
lineWrap | boolean |
diffIndicators | classic | bars | none |
showLineNumbers | boolean |
tuiMouseEnabled | boolean |
fontSize | base code font size (px) |
haptics | sounds / haptics in web UI |
setupCompletedAt | first-run wizard marker |
staged / untracked | default inclusion toggles |
Theme
Change in UI with g t or settings. 52 themes — see Themes.
Mode
diffing mode web
diffing mode tui