DEV Community

Solving git merge conflicts with VIM

Omer Hamerman on July 16, 2019

A flow so smooth you’d be wishing for conflicts to happen Photo by pexels.com I use VIM. These lines are written in VIM, and so does ev...
Collapse
 
jessekphillips profile image
Jesse Phillips

I'd used fugitive for awhile but found the diff too cluttered. I switched to diffconflicts. It is not the only information needed to handle a merge, but it is often context on many files needed.

github.com/whiteinge/diffconflicts

Collapse
 
coreyja profile image
Corey Alexander

Great article! I think I might adopt something like these into my vimrc as well!

Collapse
 
omerxx profile image
Omer Hamerman

Nice! Let me know how it works!

Collapse
 
rohansawant profile image
Rohan Sawant

Solving git conflicts with vim for me is like playing fire when you have brought a knife to a gun fight.

I sometimes, just give up and reclone the entire repo like the sneaky noob that I am!

🤭

Collapse
 
_alief_aziz profile image
A-li-ef

how to know the name of \2 or \3?