gitui-org/gitui

Configuration file support

Open

#2.140 geöffnet am 20. März 2024

Auf GitHub ansehen
 (3 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Rust (721 Forks)batch import
feature-requestgood first issue

Repository-Metriken

Stars
 (21.937 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 41T 9h) (6 gemergte PRs in 30 T)

Beschreibung

Whenever I run GitUI in a new working directory, when comparing differences, I have to do o to get into Options, then under Diff, I set "Ignore whitespaces" to true.

I would like it so that within the config directory, I can place a gitui.ron file with the content:

(
    diff: (
        ignore_whitespace: true,
        context: 3,
        interhunk_lines: 0,
    )
)

Then when GitUI starts up, it uses these values as the new defaults, and any changes you make would be written to .git/gitui in the working directory.

Contributor Guide