News for hackers. Stuff that matters.
Re:Interactive Vim tutorial by tombert on Wednesday October 04, 2017 @12:35PM (#15401724)
What has always sold me on Vim is the fact that you can "compose" key commands, and as a result, you effectively can build your own commands.

For example, the `d` key begins the `delete` action, the `i` key means `inner` (or `current`) and `w` means `word`. From that, you can deduce that `diw` deletes the current word.

I figured that command out myself, among many other ones, and that only works because of the composable nature of Vim's modal editing.

Vim's macro system is also rather amazing, IMO. I haven't used Atom much, so I don't know if it's comparable, but I will usually set up several macros and compose them together to do mass edits of things.

There are no comments on this comment yet.