Skip to content

Commit b368dfd

Browse files
author
Christian Treppo
committed
Configure Macvim as the standard git mergetool
Why use something else than Macvim with fugitive.vim as a mergetool?
1 parent da37a32 commit b368dfd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

git/gitconfig

+6
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,15 @@
8484
svnl = svn log --oneline --show-commit
8585
[format]
8686
pretty = format:%C(blue)%ad%Creset %C(yellow)%h%C(green)%d%Creset %C(blue)%s %C(magenta) [%an]%Creset
87+
[mergetool]
88+
prompt = false
89+
[mergetool "mvimdiff"]
90+
cmd="mvim -c 'Gdiff' $MERGED" # use fugitive.vim for 3-way merge
91+
keepbackup=false
8792
[merge]
8893
summary = true
8994
verbosity = 1
95+
tool = mvimdiff
9096
[apply]
9197
whitespace = nowarn
9298
[branch]

0 commit comments

Comments
 (0)