[Git] Make Delta my default git diff viewer

This commit is contained in:
Lucien Cartier-Tilet 2021-06-18 10:25:38 +02:00
parent d852bf8fda
commit 5310bc5af1
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -97,3 +97,21 @@
rebase = false
[init]
defaultBranch = main
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[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