use nvim as mergetool in git with 3 panes

This commit is contained in:
Bruno Carlin 2020-06-17 19:58:20 +02:00
parent d66a19b62e
commit 28266990bf

View file

@ -28,8 +28,12 @@
insteadOf = https://code.waarp.fr
[core]
pager = delta --dark --theme 'Solarized (dark)'
# define command which will be used when "nvim" is set as a merge tool
[mergetool "nvim"]
cmd = nvim -d $LOCAL $MERGED $REMOTE -c 'wincmd l'
[merge]
tool = vimdiff
#tool = vimdiff
tool = nvim
guitool = meld
[pull]
rebase = false