AutoTmpl : Plugin for using templates when editing new files
script karma |
Rating 20/5,
Downloaded by 519 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Lluis Vilanova |
|
script type |
utility |
|
description |
The purpose of this script is to automatically load predefined template files
when editing new files.
The templates can contain fields that are dynamically filled in order to customize
them at creation time (e.g. date of creation).
Currently, templates are provided for:
- C
- C++
- C/C++ headers
- Python
- Shell scripts
- Vim plugins
The plugins use some variables that can be defined in your .vimrc:
- let g:author = "your name"
- let g:email = "your email"
- let g:footer = "the footer you want vim to use for your files (e.g. tabstop=4 textwidth=100)"
Please send me an email with any improvements you think are worth. |
|
install details |
To install it for the first time, download the plugin and
decompress it into your local vim directory (~/.vim).
Once installed you can update it with vimscript #642.
In order to update your help tags you have to run >
:helptags ~/.vim/doc
<
You can see this help with >
help AutoTmpl
> |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 52.14.150.55
|