2 ms·
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
by tombert 9y ago
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.