git: Test delta as diff-so-fancy replacement
Don't know yet if I like it better
This commit is contained in:
@@ -51,8 +51,15 @@
|
|||||||
verbose = true
|
verbose = true
|
||||||
[core]
|
[core]
|
||||||
abbrev = 12
|
abbrev = 12
|
||||||
pager = diff-so-fancy \
|
pager = delta
|
||||||
| less --tabs=8 --RAW-CONTROL-CHARS --quit-if-one-screen
|
# 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]
|
[diff]
|
||||||
# Color moved lines differently
|
# Color moved lines differently
|
||||||
colorMoved = default
|
colorMoved = default
|
||||||
@@ -74,7 +81,7 @@
|
|||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
[interactive]
|
[interactive]
|
||||||
diffFilter = diff-so-fancy --patch
|
diffFilter = delta --color-only
|
||||||
# Might need a `sudo cpan Term::ReadKey`
|
# Might need a `sudo cpan Term::ReadKey`
|
||||||
singleKey = true
|
singleKey = true
|
||||||
[log]
|
[log]
|
||||||
|
|||||||
Reference in New Issue
Block a user