Hacker News new | ask | show | jobs
by 0xFEE1DEAD 464 days ago
I don't know why but it makes me happy that vim is getting so much attention from not-so-experienced developers.

Great job OP!

I like how you're not focusing on creating a complete list of commands but instead including only the ones you use and expanding it as you learn more.

Aside: I find it fascinating how you can often deduce how long someone has been using vim based on how they accomplish certain tasks. It made me smile seeing OP use ggVG - I can think of two reasons why someone would do that: to delete everything ggVGd or to yank everything ggVGy. We (probably) all did that at one point.

And at some point you ask yourself what actually are ex commands? - and that's when you learn about :%d and :%y.

3 comments

Hilarious seeing this. About five minutes ago I ran

:q!

echo “” > file.txt

vi file.txt

I have a ways to go:)

Okay its so funny to see how many ways are there :D
Hey, yeah I figured that down the line I will add all the commands eventually anyway, for now I'll just put down what I need :)

So you say there is another way? Haha, I'll definitely check that out! Thank you for the heads up <3

TIL about :%d and :%y, thank you!