Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Simple templates plugin for Vim
VimL Perl PLSQL CMake Prolog XSLT Other
Latest commit 9551b4e Peng Liu committed with Using -L option instead of removing the -type f according to the @ape…
…rezdc's advice.


Simple Vim templates plugin

Author: Adrian Perez <>

This is a simple plugin for Vim that will allow you to have a set of templates for certain file types. It is useful to add boilerplate code like guards in C/C++ headers, or license disclaimers.


The easiest way to install the plugin is to install it as a bundle. For example, using Pathogen:

  1. Get and install pathogen.vim. You can skip this step if you already have it installed.
  2. cd ~/.vim/bundle
  3. git clone git://

Bundle installs are known to work fine also when using Vundle. Other bundle managers are expected to work as well.



In order to update the plugin, go to its bundle directory and use Git to update it:

  1. cd ~/.vim/bundle/vim-template
  2. git pull

With Vundle

Use the :BundleUpdate command provided by Vundle, for example invoking Vim like this:

% vim +BundleUpdate
Something went wrong with that request. Please try again.