Rojakcoder

Tech and Biz Ramblings

Using Templates in Vim

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
comments powered by Disqus

Related contents

vi (9)