Add nvimdiff setup for git
parent
14bf4411ce
commit
baceab2173
|
@ -11,11 +11,15 @@
|
||||||
[diff]
|
[diff]
|
||||||
tool = nvimdiff
|
tool = nvimdiff
|
||||||
[difftool]
|
[difftool]
|
||||||
prompt = true
|
prompt = false
|
||||||
|
[difftool "nvimdiff"]
|
||||||
|
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
|
||||||
[merge]
|
[merge]
|
||||||
tool = nvimdiff
|
tool = nvimdiff
|
||||||
[mergetool]
|
[mergetool]
|
||||||
keepBackup = false
|
keepBackup = false
|
||||||
|
[mergetool "nvimdiff"]
|
||||||
|
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\" \"$MERGED\""
|
||||||
[guitool "Add to .gitignore"]
|
[guitool "Add to .gitignore"]
|
||||||
cmd = echo \"\n$FILENAME\" >> .gitignore & git add .gitignore
|
cmd = echo \"\n$FILENAME\" >> .gitignore & git add .gitignore
|
||||||
needsfile = yes
|
needsfile = yes
|
||||||
|
|
Loading…
Reference in New Issue