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
|
||||
[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]
|
||||
|
||||
Reference in New Issue
Block a user