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.

貢獻者指南