Rojakcoder
Of Linux, Programming, and Singaporean Ramblings

Using Templates in Vim

Tue, Sep 22, 2009 9:19AM +0800

I just discovered a way to use templates in Vim where when I create a file, depending on the extension of the file, the boilerplate text that should always be there will be there.

You can find out how to do this from the Vim Recipe book, in particular this page: http://vim.runpaint.org/typing/using-templates/

HUGOMORE42
Tags: vi
comments powered by Disqus