caio.co/de/dotfiles

nvimdiff mergetool setup

Id
cb389d3f6be58e0f082ed8549318e9573bd033ef
Author
Caio
Commit time
2024-06-13T10:39:04+02:00

Modified gitconfig

@@ -17,7 +17,7
ui = auto

[merge]
- tool = vimdiff
+ tool = nvimdiff

[rebase]
stat = true
@@ -27,6 +27,7

[diff]
noprefix = true
+ tool = nvimdiff

[log]
decorate = short
@@ -43,6 +44,9

[mergetool]
keepBackup = false
+
+[mergetool "nvimdiff"]
+ layout = "LOCAL,BASE,REMOTE / MERGED"

[init]
defaultBranch = main