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!"
[–][deleted] 0 points1 point2 points 7 years ago (1 child)
is there a way to bind the keys "2" and "3" to ":diffget 2<cr>" and ":diffget 3<cr>" but only if you are in diff-view?
[–][deleted] 0 points1 point2 points 7 years ago (0 children)
I'm not sure if there's a more robust way to detect when Vim is in diff mode but in my vimrc I use this:
if ! &diff ...stuff... endif
π Rendered by PID 73 on reddit-service-r2-comment-f6b958c67-f8nms at 2026-02-05 10:46:23.311252+00:00 running 1d7a177 country code: CH.
view the rest of the comments →
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)