feat: use vim fugitive as mergetool
This commit is contained in:
parent
4edfde63b0
commit
ff9d284670
1 changed files with 4 additions and 14 deletions
|
@ -32,17 +32,13 @@
|
||||||
old = red bold
|
old = red bold
|
||||||
new = 64
|
new = 64
|
||||||
whitespace = red reverse
|
whitespace = red reverse
|
||||||
|
[merge]
|
||||||
|
tool = fugitive
|
||||||
[mergetool]
|
[mergetool]
|
||||||
keepBackup = false
|
keepBackup = false
|
||||||
prompt = false
|
prompt = false
|
||||||
[diff]
|
[mergetool "fugitive"]
|
||||||
tool = vimdiff
|
cmd = nvim -f -c \"Gdiffsplit!\" \"$MERGED\"
|
||||||
[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
|
|
||||||
[gitflow]
|
[gitflow]
|
||||||
multi-hotfix = true
|
multi-hotfix = true
|
||||||
[gitflow "branch"]
|
[gitflow "branch"]
|
||||||
|
@ -59,12 +55,6 @@
|
||||||
date = relative
|
date = relative
|
||||||
[format]
|
[format]
|
||||||
pretty = format:%C(yellow)%h %Cblue%>(12)%ad %C(red)%G? %Cgreen%<(7,trunc)%aN%Cred%d %Creset%s
|
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]
|
[rerere]
|
||||||
enabled = true
|
enabled = true
|
||||||
[fetch]
|
[fetch]
|
||||||
|
|
Loading…
Reference in a new issue