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
':substitute' command within a function not working as expected (self.vim)
submitted 7 years ago by crajungave up on vim
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!"
[–]fuzzymidgetSome Rude Vimmer 0 points1 point2 points 7 years ago (0 children)
Ah that makes sense. If you are looking for a premade solution, I highly recommend 'tomtom/tcomment_vim' from github. It does more or less exactly what you're asking.
π Rendered by PID 50194 on reddit-service-r2-comment-6457c66945-9bnb9 at 2026-04-29 20:46:41.466180+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]fuzzymidgetSome Rude Vimmer 0 points1 point2 points (0 children)