63 karma · joined February 14, 2021
(1..20).each do |i|
puts i if i.odd? || i.prime?
end
edit - upon testing, I just realized the parent's code prints 10 & 16, my code does not, so not the same.But I kept trying, looking for a clever way around the problem, and I found it! This course is everything I learned during that process, and it's currently free for my birthday weekend, so have at it :)
Discount code is "HBD" if it doesn't work, use this url:
I think for me, I would like to turn my many hours spent into a will and a way to help others deal with addiction to videogames, as well as porn and other digital addictions that are not yet taken quite as seriously as physical addictions.
I think that would be the ultimate way of making something good out of all this
"Like big deal, you can jump around the line, delete words or whole lines. I can do that with option and command. Oh you can apply your edits to multiple places? Have you heard of multi-cursor?"
Only when I was forced to use it (in South Korea) did I realize why people love it so much
So here's a video of a basic use case that requires tedious clicking on a normal editor like vs-code, but which is made super easy in vim
Please let me know if you found this useful so I can make more vim videos like this :)
Thanks for reading :)
Talking about tpope's official neovim plugin