Monday, November 8, 2010

Vim, Day 2

As I mentioned in a previous post, I recently started trying to use Vim instead of textmate as my default editor, with mixed results.

Are some of the command shortcuts awesome? Yes. I love "dd" for deleting a full line, and "o" or "O" for inserting a new line above or below where I am. But that doesn't totally make up for a loss of direction when it comes to moving between files; that's what I DIDN'T love.

Fortunately, one of my friends forwarded me this blog post by Yehuda Katz, where he gives a great summary of his experience in switching into Vim incrementally, but which also (most importantly to me) mentioned the "NERDTree" plugin.

If you don't know about it (I didn't) it gives you a "tree" interface to the directory you specify (I'm using my project home directory) and lets you use a mouse interface or a series of handy shortcuts to navigate. There's nothing else holding me back.

Now I'm sold. Powerful text editing, workable project drawer, I'm a Vim advocate from today forward.

2 comments:

voyeg3r said...

Great videos (cool)
http://vimeo.com/user1690209/videos

Ethan Vizitei said...

Neat! Thanks for that link, voyeg3r