Git: Use delta as pager
This commit is contained in:
12
.gitconfig
12
.gitconfig
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user