Simple Vim templates plugin
|Author:||Adrian Perez <email@example.com>|
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:
- Get and install pathogen.vim. You can skip this step if you already have it installed.
git clone git://github.com/aperezdc/vim-template.git
Bundle installs are known to work fine also when using Vundle. Other bundle managers are expected to work as well.
The documentation can be browsed directly in Vim:
Alternatively, you can also read it in your browser.
In order to update the plugin, go to its bundle directory and use Git to update it:
:BundleUpdate command provided by Vundle, for example invoking
Vim like this:
% vim +BundleUpdate