December 18, 2009

vim tip #1: open file in a tab

:map gf :tabedit <cfile> <CR>
set path+=. 
set path+=/users/vetter/dev

Type in "gf" when cursor is sitting on word with filename relative to your vim path.

1 comment:

Frankie said...

oh man... can't wait to try this one.