Hacker News new | ask | show | jobs
by arendtio 2049 days ago
Actually, the commands you listed are more or less the basics, but the magic comes when you learn about the structure of the commands.

For example, `2dw` is a typical example. So you start with the number of times you want to do something, then you add a verb like `d` for delete and you end with a noun like `w` for word. As you probably have guessed, it deletes the next two words.

Since working with lines is quite common, many commands are executed for a line when you repeat the verb (easy to type). So `2dd` deletes the next two lines.

When you use this language you start using vim. There is still more to explore (e.g. macros), but this is where vim is different.