(n)vimdiff
change
commit 7161260248ea99dd625481d52d6dbbf99c02b73d
author Alpha Chen <alpha.chen@brilliant.org>
date
parent 32536954
diff --git a/.gitconfig b/.gitconfig
index 0f7cae74..a16307e5 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -47,6 +47,10 @@
 	conflictstyle = diff3
 	ff = false
 	tool = vimdiff
+[mergetool "vimdiff"]
+	path = nvim
+[mergetool "nvimdiff"]
+	cmd = nvim -d \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"
 [mergetool "sourcetree"]
 	cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
 	trustExitCode = true