gitui-org/gitui

Configuration file support

开放

#2,140 创建于 2024年3月20日

 (3 条评论) (2 个反应) (0 位负责人)Rust (721 个派生)batch import
feature-requestgood first issue

仓库指标

星标
 (21,937 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南