You're replying to a comment by spatz.

spatz Permalink
November 06, 2009, 11:08

%:r is replaced with the currently edited filename minus the extension, so you can use :e %:r.h and :e %:r.c to switch quickly (use :tabe instead of :e to edit in a new tab). Of course those could be bound to keys or commands, but is quite short on its own.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the first letter of your name: (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.