gitui-org / gitui-org/gitui

Configuration file support

Offen
#2,140 3 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature-request good first issue
Vorherrschende Sprache
Rust
Sterne
22.5k
Forks
773
PR-Merge-Kennzahlen
Keine gemergten 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:

```ron
(
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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.