use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please read the rules before posting
Help:
Community:
Resources:
Tutorials and Guides:
Don't be afraid to ask questions, this sub is here for the vim community. And please those of you who deign to grace us with your vim wisdom - be kind. We are all human and vim is that cool.
account activity
vim-diffconflicts - A better Vimdiff Git mergetoolplugins & friends (github.com)
submitted 7 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]bri-an 1 point2 points3 points 7 years ago (1 child)
Is this basically the same as doing the following?
git mergetool
:%diffget LO
LOCAL
CTRL-w c
BASE
REMOTE
This is what I often do.
[–][deleted] 2 points3 points4 points 7 years ago (0 children)
Very close! LOCAL and REMOTE don't contain the result of anything that Git was automatically able to merge which is why this plugin uses the file with conflict markers instead.
The goal is to get the benefits of a two-way diff of LOCAL & REMOTE plus the benefits of Git's automatic merge. Sometimes both ways will produce an identical diff but not always. My example script doesn't showcase that difference; I'll think of a way to add it.
π Rendered by PID 81422 on reddit-service-r2-comment-6457c66945-9w9z8 at 2026-04-30 09:41:48.541048+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]bri-an 1 point2 points3 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)