The pristine state
I was watching a violinist bow intensely and I had this thought: I probably have as your brain cells converted Ted to my text editor as he does to playing his chosen instrument. is it outlandish to imagine that an MRI of his brain during a difficult solo wouldn't look much different than mine while manipulating code in vim?
Consider, if you will, the following montage from one vimmer's journey.
The long, hard road to vim nirvanamonday
"Eclipse sure is neat ."
"But that weird guy with the neckbeard at work looks really fast with vim, I shocould try it !"
"Alright! I got gvim. this doesn't look bad. there are even menus !!!"
"Wait what? Where 'd my text go? Wait. undo. no ."
": Help"
": Q !!!!!"
.
.
Revels in the opiatic relief of autocompleting boilerplate in eclipse for the rest of the day
Tuesday
"Okay vim. it's a new day, a new opportunity to really sharpen the old saw. I'm not giving up that easily !"
"Why can't I JUST STAY IN INSERT MODE fjdsakljdalskjkldf"
"Wait, you're telling me I have to press escape-shift-colon-w-enter every time I want to save? This is some bullsheeeet ."
"After spending 2 hours on the tutorial, all I basically know is 'dd' to swap lines. crap ."
A week later
"Woah. vim is everywhere! This means all of this effort will not be in vain when I ssh into the mainframez to edit some configs"
"SWEET, hey guys check out this dark totally unmarshate COLORSCHEME. my new-TOOL-pain is superficially eased ."
"Oh bils. my. vimrc isn' t on the mainframez so all my cool shit is gone when I ssh to edit some configs ."
Two months later
Hjkl movement becomes natural. you mysteriously lose the ability to ice skate
"I'll use these 400 plugins I just downloaded ALL the TIME! Especially this folding LaTEX plugin oh man"
/Self-flagellation for lapsing back to the arrow keys
"Adieu, caps lock ."
"That's it. the last straw. vim can't even wrap text properly, I'm going back to edit.com"
A year later
Speaks less out of memory
Installcommand-T plugin, saves several hundred thousand keystrokes/day
Tries impressing someone watching over shoulder with a macro, only to mess up and uppercase/rot13 the entire file
Delays onset of carpal tunnel for several years by finally committing ctrl + [to muscle memory
In one miraculous day, finally learns motions, visual mode, and *-realizes there is no turning back
"Vim doesn' t support interactive buffers? After 20 years? Well, I'm a hacker. I'll just add support for it ."
Sees quality of vim codebase, runs frantically in opposite direction
"Who needs a console in their editor anyways !!!! I am all about the unix philosophy, etc"
Hot flashes of panic surrounding the notion that vim is just an editing mode to be ininitialized into "real" editors
Irc friends finally corner you for a dramatic intervention re: obnoxiously frequent stray ": w" s in room
Two years later
"Vimscript is an abomination unto the lord ."
Niggling feeling that emacs 'parens-all-the-way-down construction must be heaven-like, comparatively
"I had this nightmare last night. dreamt I was still hadn't learned to slice and dice vertical splits on my widescreen monitors. it was EFFING SCARY ."
Glances around room furtively, binds ctrl + s to save, allows self quiet sigh of relief
Realizes inadequacy of hjkl in the face of the ultimate time saver that is search-to-navigate
Discovers: python scripting, enters golden age of flourishing mizmizability. feels only a little dirty
Frenzied <Leader> key mapping until keyboard resembles NASA mission control panel in its manifold multifunctional ridiculousness
"Hey look, everybody within earshot !!! I'm now version controlling, blogposting, mailchecking, testrunning, debugging, hackernews-skimming, ALL from within vim's warm safe ultra-customizable womb! Why aren't you guys doing back flips to celebrate !?"
Some lengthy and indeterminately vague time later
Loses several friends over lectures on "the clear advantages of modality in text editing"
Luxuriates in shared github.com/me/vimfiles bliss, publishes obligatory blog post about how special and unique setup is
With syntax checking, linting, autocompletion, quick documentation lookup, tons of killer abbreviations, and plugins for every filetype under the sun, vim approaches true IDE-status in both productivity, and startup time
Logs into server, using uses nano to edit a config file. unexpected realization of betrayal minutes later accompanied by a deep shame abetted only by updating all those barely used plugins and sprinkling more comments in. vimrc
Monastic calm no longer daunted by repetitive editing tasks, nor by emacs vs vim debates
... And finally, this is your brain on Vim
Any questions?
Original article: http://kevinw.github.com/2010/12/15/this-is-your-brain-on-vim/