Apologies if the title wasn't as reflective of the content as I had hoped.
Apologies if the title wasn't as reflective of the content as I had hoped.
Firstly, that your title should align with the broad story "I like Vim now / Vim is pretty good" as well as the specific story "The usual advice on how to switch is wrong". Your title strongly implies that Vim is not worth learning and that you should ignore people who suggest you try it.
Secondly, that you should start with your conclusion and slowly expand on it. This is because you don't know how much of your article any given reader will read before giving up or getting distracted.
These are both a non-trivial effort. How do you, for example, convey the entire meaning of the article in the title while still making people want to click and read? How do you hit them with the key argument of your story without building up the foundation?
See :help motion.txt - they're in section 6. Text Object Selection. Also, just play around with them a little. For example:
<p>This is a tes|t. Do not be alarmed.</p>
If that's your text, and the cursor is at the pipe: ciw # remove all of 'test', enter insert mode
caw # remove the word 'test' and preceding space, enter insert mode
vit # visually select all the text within the <p> tags
vat # visually select the whole <p> elementThe composability of vim motion commands is what keeps me using it.
Edit: seems actual jump selection can be finicky.
Even better, you can use b instead of ( and B instead of {, because it's easier to type.
(Disclaimer: I do use Emacs, mostly.)
Haven't tried learning the keybindings yet myself, and I've heard VIPER isn't the complete Vim.
It amuses me that people actually think that's just a joke.
Emacs is far easier to script and plays nicer with other programs so there are more, more useful extensions for working in various languages. On the other hand, I find vim's modal interface faster and easier on my hands than emac's chording interface. viper-mode in emacs might be ideal.
Ergonomics. There's an emacs key chord for everything, but many of them involve two or three modifier keys.
i.e. search and replace is Alt+Shift+5, indent block is Ctrl+Alt+\
These require some finger contortions. I haven't used vim, but the impression I get is that similar commands in vim are all closer to home row so you don't have to contort your hands as much.
search & replace is % indent is > (auto-indent is =)
Emacs seems really neat, and I'd like to try out some other editors, but none of them compare to the ease of vim's modal style.