]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - gitconfig
Use nvim for mergetool
[rbdr/dotfiles] / gitconfig
index 712e4dff7df94afbc50c82851dca402d5dd4f8d2..f3cb18daacf448df468df76763858ff8b3ae8b52 100644 (file)
--- a/gitconfig
+++ b/gitconfig
@@ -1,7 +1,7 @@
 [user]
        name = Ruben Beltran del Rio
        email = ruben@unlimited.pizza
-       signingkey = B7C3495D98F27947
+  signingkey = CF016B28A85750E3C1B80CEB14871BABBDF9DFF5
 [sendemail]
        smtpserver = smtp.fastmail.com
        smtpuser = ruben@unlimited.pizza
        gpgsign = true
 [init]
        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'