git: Use delta for diffing
This commit is contained in:
parent
80ff56cd28
commit
74dd4482aa
1 changed files with 7 additions and 0 deletions
|
|
@ -14,10 +14,14 @@ verbose = true
|
||||||
[core]
|
[core]
|
||||||
attributesfile = ~/.gitattributes
|
attributesfile = ~/.gitattributes
|
||||||
excludesfile = ~/.gitignore
|
excludesfile = ~/.gitignore
|
||||||
|
pager = delta
|
||||||
|
|
||||||
[credential]
|
[credential]
|
||||||
helper = cache
|
helper = cache
|
||||||
|
|
||||||
|
[delta]
|
||||||
|
navigate = true
|
||||||
|
|
||||||
[diff]
|
[diff]
|
||||||
colorMoved = dimmed-zebra
|
colorMoved = dimmed-zebra
|
||||||
wsErrorHighlight = all
|
wsErrorHighlight = all
|
||||||
|
|
@ -32,6 +36,9 @@ cmd = difft "$LOCAL" "$REMOTE"
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
|
||||||
|
[interactive]
|
||||||
|
diffFilter = delta --color-only
|
||||||
|
|
||||||
[log]
|
[log]
|
||||||
date = iso
|
date = iso
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue