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] [core]
autocrlf = input autocrlf = input
excludesfile = ~/.config/gitignore excludesfile = ~/.config/gitignore
pager = less -F -X pager = delta
whitespace = tabwidth=4 whitespace = tabwidth=4
[credential] [credential]
helper = store 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] [diff]
algorithm = histogram algorithm = histogram
renamelimit = 65536 renamelimit = 65536
@ -30,16 +44,14 @@
[http] [http]
sslverify = true sslverify = true
sslversion = tlsv1.3 sslversion = tlsv1.3
[interactive]
diffFilter = delta --color-only --features=interactive
[merge] [merge]
conflictstyle = diff3 conflictstyle = diff3
renormalize = true renormalize = true
tool = vimdiff tool = vimdiff
[pack] [pack]
threads = 0 threads = 0
[pager]
diff = diffr | less -FRX
log = diffr | less -FRX
show = diffr | less -FRX
[pull] [pull]
rebase = true rebase = true
[rebase] [rebase]