config/git/diffr: create separate config
This commit is contained in:
parent
c43e7abada
commit
7741fa0a41
|
@ -1,10 +1,7 @@
|
|||
[core]
|
||||
autocrlf = input
|
||||
editor = nvim
|
||||
pager = diffr --colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33 | less --RAW-CONTROL-CHARS --quit-on-intr
|
||||
hooksPath = .dev/githooks
|
||||
[interactive]
|
||||
diffFilter = diffr --colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33
|
||||
[submodule]
|
||||
recurse = true
|
||||
[rerere]
|
||||
|
@ -185,5 +182,7 @@
|
|||
rg = rmgonebranches
|
||||
gcr = !git gc && git repack -a -d
|
||||
|
||||
[include]
|
||||
path= "diffr"
|
||||
[includeIf "gitdir:yadm/repo.git"]
|
||||
path = "~/.config/yadm/gitconfig"
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[core]
|
||||
pager = diffr --colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33 | less --RAW-CONTROL-CHARS --quit-on-intr
|
||||
[interactive]
|
||||
diffFilter = diffr --colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33
|
Loading…
Reference in New Issue