X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/d20131863adc4f800134858219e3bb768fbd2446..9f9934bad16668fcf0a768cdaa03383d73780e15:/gitconfig diff --git a/gitconfig b/gitconfig index cc14fe3..f3cb18d 100644 --- a/gitconfig +++ b/gitconfig @@ -21,3 +21,10 @@ defaultBranch = main [diff] external = difft + tool = vimdiff +[merge] + tool = nvim +[mergetool] + keepBackup = false +[mergetool "nvim"] + cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'