gitui-org / gitui-org/gitui

Configuration file support

Aperta
#2,140 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub
feature-request good first issue
Lingua principale
Rust
Stelle
22.5k
Fork
773
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.