git: Test delta as diff-so-fancy replacement

Don't know yet if I like it better
This commit is contained in:
2024-09-21 00:03:01 +02:00
parent 9e19a19f76
commit ea2a02626d

View File

@@ -51,8 +51,15 @@
verbose = true
[core]
abbrev = 12
pager = diff-so-fancy \
| less --tabs=8 --RAW-CONTROL-CHARS --quit-if-one-screen
pager = delta
# pager = diff-so-fancy \
# | less --tabs=8 --RAW-CONTROL-CHARS --quit-if-one-screen
[delta]
navigate = true
commit-decoration-style = bold yellow box
file-style = bold yellow ul
file-decoration-style = none
hunk-header-decoration-style =
[diff]
# Color moved lines differently
colorMoved = default
@@ -74,7 +81,7 @@
[init]
defaultBranch = main
[interactive]
diffFilter = diff-so-fancy --patch
diffFilter = delta --color-only
# Might need a `sudo cpan Term::ReadKey`
singleKey = true
[log]