Git: Use delta as pager

This commit is contained in:
Robert Kmiec
2021-01-15 13:29:53 +01:00
committed by Robert Kmiec
parent 9d74458115
commit 4b1cdb5a68

View File

@@ -5,9 +5,10 @@
email = robert.r.kmiec@gmail.com email = robert.r.kmiec@gmail.com
[core] [core]
editor = vim editor = vim
pager = diff-so-fancy | less --tabs=4 -RFX pager = delta
autocrlf = false autocrlf = false
excludesfile = /home/rkmiec/.config/git/ignore excludesfile = /home/rkmiec/.config/git/ignore
symlinks = true
[help] [help]
autocorrect = 1 autocorrect = 1
[color] [color]
@@ -35,3 +36,12 @@
st = status st = status
d = diff d = diff
dc = diff --cached dc = diff --cached
[interactive]
diffFilter = delta --color-only
[delta]
features = side-by-side line-numbers decorations
whitespace-error-style = 22 reverse
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none