The siren song of Vim
November 28, 2011 at 10:23 PM by Dr. Drang
The internets are conspiring against me. First, I saw this 20th anniversary appreciation of Vim at Ars Technica. Then came this short post promising me that switching to Vim would be quick, painless, and even fun. Finally, today I read Brent Simmons’ post about navigating in various Mac text editors—he compares them all to Vim, the gold standard.
Worse than Brent’s post itself is his link to Bram Moolenaar’s “Seven habits of effective text editing,” a beguiling essay that first lured me to the treacherous coast of Vim a decade ago.
I know better than to try Vim again. I wrote a blog post about how I know better than to try Vim again.
I tend to rewrite sentences as I’m typing, stopping in the middle to go back and reset the tense or flip clauses around. It’s rare that I can type an entire paragraph without stopping to edit it. The need to keep shifting in vi from command to insert mode makes it a very clumsy editor for this type of writer.
I’ve tried to change my writing habits. I’ve tried to turn my brain’s internal editor off and just let the words come out, trusting myself to fix them later on. It would make writing much easier, regardless of the text editor I use. But I can’t do it.
One of the few advantages of reaching middle age is coming to recognize your strengths and weaknesses and knowing what you can change and what you can’t. This is something I can’t.
So why am I launching MacVim? Why am I looking at its cartoonish toolbar and thinking I’m sure there’s a setting to hide that instead of quitting in horror?
Why am I looking at its tiny default font and lack of line numbers and thinking of .gvimrc
instead of :wq
? Why am I thinking about how wizardly I’d be in Vim by now if only I’d stuck with it ten years ago.
You know why as well as I do. It’s the same reason we look for a better calendar app (I’m back to using the iPhone’s built-in calendar), a better pen (still using the Jetstream), a better to-do list manager (I’m back with TaskPaper). It’s that nagging sense that there’s a better, faster, smarter way to do things.
And usually there is. But you have to know your limits. Experience tells me that the scripts and TextExpander snippets I create usually do save me time or, at the very least, frustration. Experience also tells me that despite Vim’s wonderful navigation and editing commands—and make no mistake, they are wonderful—modal editing isn’t for me.
[This post written in my comfortable old friend TextMate.]