Use delta as git diff pager
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
signingkey = 9893DA236405AF57
|
||||
[core]
|
||||
excludesfile = /home/coolneng/.config/git/global_gitignore
|
||||
pager = delta
|
||||
[credential]
|
||||
helper = !pass-git-helper $@
|
||||
[commit]
|
||||
@@ -17,3 +18,17 @@
|
||||
[filter "git-ignore-line.sh"]
|
||||
clean = git-ignore-line.sh
|
||||
smudge = cat
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
[add.interactive]
|
||||
useBuiltin = false # required for git 2.37.0
|
||||
[delta]
|
||||
navigate = true # use n and N to move between diff sections
|
||||
# GITIGNORE START
|
||||
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
|
||||
syntax-theme = Nord
|
||||
# GITIGNORE END
|
||||
[merge]
|
||||
conflictstyle = diff3
|
||||
[diff]
|
||||
colorMoved = default
|
||||
|
||||
Reference in New Issue
Block a user