feat(gitconfig): nvdimdiff > vimdiff

This commit is contained in:
Oliver Ladner 2026-01-20 13:54:37 +01:00
commit 2cc7a82586

View file

@ -13,7 +13,9 @@
helper = cache --timeout=604800
[diff]
tool = vimdiff
tool = nvimdiff
[difftool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
[http]
postBuffer = 524288000
@ -25,8 +27,16 @@
[init]
defaultBranch = main
[merge]
tool = "nvim"
conflictstyle = diff3
[mergetool]
keepBackup = false
prompt = true
[mergetool "nvim"]
cmd = "nvim -d -c \"wincmd l\" -c \"norm ]c\" \"$LOCAL\" \"$MERGED\" \"$REMOTE\""
# Set a correct user.name and user.email for work projects
[includeIf "gitdir:~/git/work/"]
path = ~/git/work/gitconfig