Nvim: add diffview plugin

This commit is contained in:
Marko Korhonen 2024-01-24 13:51:39 +02:00
parent 6997121c4e
commit bb75584fa2
3 changed files with 8 additions and 3 deletions

View file

@ -28,7 +28,7 @@ keepBackup = false
prompt = false
[mergetool "nvim"]
cmd = nvim -d $LOCAL $BASE $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
cmd = nvim +DiffviewOpen
[diff]
tool = nvim
@ -37,7 +37,7 @@ tool = nvim
prompt = false
[difftool "nvim"]
cmd = nvim -d $LOCAL $REMOTE
cmd = nvim +DiffviewOpen
[pull]
rebase = merges