From a0d0f7b1a2da4eccd713b56b7be4c549f0632b4c Mon Sep 17 00:00:00 2001 From: jay Date: Tue, 3 May 2022 15:55:34 +0800 Subject: [PATCH] modify gitconfig --- gitconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gitconfig b/gitconfig index 22f561a..5a79b55 100644 --- a/gitconfig +++ b/gitconfig @@ -9,7 +9,7 @@ tool = vimdiff trustExitCode = true [difftool] - prompt = false + prompt = true [alias] d = difftool co = checkout @@ -20,6 +20,8 @@ br = branch [mergetool] keepBackup = false +[mergetool "vimdiff"] + cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J' [core] editor = vim