gitui-org/gitui

Configuration file support

Open

#2 140 ouverte le 20 mars 2024

Voir sur GitHub
 (3 commentaires) (2 réactions) (0 assignés)Rust (721 forks)batch import
feature-requestgood first issue

Métriques du dépôt

Stars
 (21 937 stars)
Métriques de merge PR
 (Merge moyen 41j 9h) (6 PRs mergées en 30 j)

Description

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.

Guide contributeur