add delta as git diff tool
This commit is contained in:
parent
0b1a075290
commit
bf49e35393
1
Brewfile
1
Brewfile
@ -196,3 +196,4 @@ brew "wtfutil"
|
||||
brew "tfenv"
|
||||
brew "tokei"
|
||||
brew "fd"
|
||||
brew "git-delta"
|
||||
|
@ -73,8 +73,7 @@
|
||||
templateDir = /Users/morganwattiez/.git-template
|
||||
|
||||
[core]
|
||||
pager = diff-so-fancy | less --tabs=4 -RFX
|
||||
|
||||
pager = delta --line-numbers --diff-highlight
|
||||
# Treat spaces before tabs and all kinds of trailing whitespace as an error.
|
||||
# [default] trailing-space: looks for spaces at the end of a line
|
||||
# [default] space-before-tab: looks for spaces before tabs at the beginning of a line
|
||||
@ -100,3 +99,11 @@
|
||||
|
||||
[difftool]
|
||||
prompt = false
|
||||
|
||||
[delta]
|
||||
plus-color = "#012800"
|
||||
minus-color = "#340001"
|
||||
theme = Monokai Extended
|
||||
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
|
Loading…
Reference in New Issue
Block a user