diff --git a/.config/git/config b/.config/git/config index 5b8cc9b..edef4df 100644 --- a/.config/git/config +++ b/.config/git/config @@ -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]