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:

KeyRole
defaultMode"web" | "tui" interactive default
themeTheme id (default rose-pine)
diffStyle"split" | "unified"
defaultTabSizeFallback tab width (editorconfig wins)
editorIDEdefault | vscode | zed | vim | neovim | ghostty
lineDiffTypeword | word-alt | char | none
lineWrapboolean
diffIndicatorsclassic | bars | none
showLineNumbersboolean
tuiMouseEnabledboolean
fontSizebase code font size (px)
hapticssounds / haptics in web UI
setupCompletedAtfirst-run wizard marker
staged / untrackeddefault inclusion toggles

Theme

Change in UI with g t or settings. 52 themes — see Themes.

Mode

diffing mode web
diffing mode tui