Git: Use delta as pager
This commit is contained in:
12
.gitconfig
12
.gitconfig
@@ -5,9 +5,10 @@
|
||||
email = robert.r.kmiec@gmail.com
|
||||
[core]
|
||||
editor = vim
|
||||
pager = diff-so-fancy | less --tabs=4 -RFX
|
||||
pager = delta
|
||||
autocrlf = false
|
||||
excludesfile = /home/rkmiec/.config/git/ignore
|
||||
symlinks = true
|
||||
[help]
|
||||
autocorrect = 1
|
||||
[color]
|
||||
@@ -35,3 +36,12 @@
|
||||
st = status
|
||||
d = diff
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user