yasnippets is a Vim plugin for snippets and file skeletons.
With this plugin you may insert text snippets. These is used for frequently typed text, such as statements in programs, copyrights, timestamps and other. This plugin supports several types of snippets: keyword snippets, newline snippets, file skeletons, etc.
To work with this plugin you need support for ruby ('+ruby' compile option and ruby language itself), ERb (embedded Ruby library for Ruby), and imaps.vim plugin.
Requirements:
· Ruby
· Vim
· imaps.vim
INSTALLATION:
Decompress and untar in your ~/.vim directory (or equivalent). Inside Vim, enter this:
:helptags ~/.vim/doc
(or equivalent directory)
Then enter
:help yasnippets
for information
Product's homepage