gitconfig: switched to delta as pager

This commit is contained in:
Tobias Schmidl 2023-11-13 11:38:47 +01:00
parent 5d1ba25cd7
commit ae2998c333

View file

@ -7,10 +7,24 @@
[core]
autocrlf = input
excludesfile = ~/.config/gitignore
pager = less -F -X
pager = delta
whitespace = tabwidth=4
[credential]
helper = store
[delta]
features = decorations
[delta "interactive"]
keep-plus-minus-markers = false
[delta "decorations"]
commit-decoration-style = blue ol
commit-style = raw
file-style = omit
hunk-header-decoration-style = blue box
hunk-header-file-style = red
hunk-header-line-number-style = "#067a00"
hunk-header-style = file line-number syntax
navigate = true
side-by-side = true
[diff]
algorithm = histogram
renamelimit = 65536
@ -30,16 +44,14 @@
[http]
sslverify = true
sslversion = tlsv1.3
[interactive]
diffFilter = delta --color-only --features=interactive
[merge]
conflictstyle = diff3
renormalize = true
tool = vimdiff
[pack]
threads = 0
[pager]
diff = diffr | less -FRX
log = diffr | less -FRX
show = diffr | less -FRX
[pull]
rebase = true
[rebase]