feat: use vim fugitive as mergetool

This commit is contained in:
Michael Mandl 2022-02-21 15:22:47 +01:00
parent 4edfde63b0
commit ff9d284670
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -32,17 +32,13 @@
old = red bold
new = 64
whitespace = red reverse
[merge]
tool = fugitive
[mergetool]
keepBackup = false
prompt = false
[diff]
tool = vimdiff
[difftool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[mergetool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[difftool]
prompt = false
[mergetool "fugitive"]
cmd = nvim -f -c \"Gdiffsplit!\" \"$MERGED\"
[gitflow]
multi-hotfix = true
[gitflow "branch"]
@ -59,12 +55,6 @@
date = relative
[format]
pretty = format:%C(yellow)%h %Cblue%>(12)%ad %C(red)%G? %Cgreen%<(7,trunc)%aN%Cred%d %Creset%s
[merge]
tool = nvim
[mergetool "nvim"]
cmd = nvim -f -c \"Gdiffsplit!\" \"$MERGED\"
[mergetool "bc"]
path = /mnt/c/Program Files/Beyond Compare 4/BComp.exe
[rerere]
enabled = true
[fetch]