Simple templates : Simple template insertion
script karma |
Rating 18/6,
Downloaded by 1436 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Javier Cardona |
|
script type |
utility |
|
description |
These are three very simple mappings that save me a lot of time...
Just create a directory with templates (i.e. a latex article, a copyright notice, a function header,...). Edit TEMPLATE_HOME in the script, and you'll be able to use the following commands:
:TT c --> print template TEMPLATE_HOME/c on top of file (template top)
:TH f --> print template TEMPLATE_HOME/f on current line (template here)
:LST --> lists contents of templates directory
Hope you find it useful!
|
|
install details |
Just copy to your .vimrc or put it on your plugins directory |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.191.176.192
|