The ubiquity of vi

Posted by: barbara | Date: Dec 01, 2008 | Category: mac os x    

Whenever a conversation about tools comes up, I find myself, inevitably, putting on a sheepish grin and confessing that yes, in fact, I am a vi user.

And I'll be honest - in my early days as a developer, I just wanted to earn a little respect.

Go ahead, make your wisecracks about still not respecting me now ... I'll wait ...

...

Done? Okay.

So what was a green girl developer to do to be taken seriously? I mean, I can't grow a beard. But I could abandon my tool dependencies. So these days I develop in a largely GUI-free world.

But I'm tired of treating it like a dirty little secret - vi (and its clone app vim) offers a lot of advantages.

  1. The big one (and the one that it never occurred to me to articulate before now) is its ubiquitousness. I develop locally on OS X, so I do all my work in a terminal. I can work just as fluidly in any Linux/Unix environment. I'm not lost when I jump up to a production server.
  2. I do everything else on the command line, so why not? When I'm editing with vi, I can transition easily to navigating around my applications, cracking open a database or two, running a test script, tailing a log, and checking in code and scp'ing files up to a server, all without ever having to leave the terminal. And for what that's worth, I'm convinced that vi has had the extended effect of making me better at using other command line tools.
  3. I rarely have to worry about the learning curve when it comes to adapting to someone else's IDE of choice. I can jump right into any job and hit the ground running.
  4. Not using an IDE forces me to carry a top-down view of my applications' structures around in my head. I'm sure that not everyone considers this beneficial, but to extend a notion that Jacob Kaplan-Moss brought up a few days ago, it fits with the way I think.

Besides, does your IDE have one of these?

Comment by Justin Lilly on Dec 04, 2008:
I must admit that I like macvim for my vim work on a mac. I'm in my terminal all day, but having it as its own app makes it much easier to switch to. It also offers nicer font rendering, if you're into that. Also, bad form for not posting a sample .vimrc file (you ARE using a vimrc, right?). ;)
Comment by Ryan on Feb 03, 2009:
I LOVE vi and if it weren't for the plugins that I found with gedit, I'd still be using vi solely! I still use it quite often, and used to even use it in split mode, with a file browser like interface on the left and my working code on the right. I went so far as to download a vi plugin for gedit, but it kinda messed with things, so regretfully, I dumped it. I love vi....
Comment by Ryan on Feb 03, 2009:
...oh yeah, even my tech website reflects my vi fanboy-ism... :)