Thursday, July 10, 2008

%s/Windows/Linux/g

I never thought I'd say this, but I'm starting to warm up to editing in vim. I've been using the Windows-centric arrow keys/home/end/page up/page down for, well, forever it seems, and old habits die hard. Since there really aren't any good arrow key editors for Linux (I tried to get Notepad++ working under Wine, but that wasn't so successful), I bit the bullet and have been using vim as my primary editor for the past couple months.

And you know what? I kinda like it. I've been so used to ctrl-arrow key to move between words in a line. It's taken a while, but I finally have my muscle memory trained to w and b. I'm starting to get there with ctrl-f and ctrl-b for page up/page down. Hitting the period to repeat the last command rocks. And I'm dipping my toe into the water of regular expression search and replace, and it's quite powerful and not as scary as I thought.

I've got to say I'm glad I've had the opportunity to use Linux as my primary OS after a few months. It was super intimidating at first, but I'm starting to appreciate how awesome of a software engineering environment that it makes possible. Granted, the UI isn't all that impressive, and I wouldn't think of not using OS X at home, but I've never had a better development environment.

On another note, I figured out how to tunnel my X session over ssh and run X apps remotely on my Mac. So cool.

(My geekiness has increased by 1 point after this post.)