xtemplate : code template engine
script karma |
Rating 12/6,
Downloaded by 1069 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
drdr xp |
|
script type |
utility |
|
description |
USAGE:
1) vim test.js
2) type:
for<C-S-j> or <M-space> or <M-S-j>
to generate a for-loop template. then type and use TAB to navigate through
template
How to DEFINE TEMPLATEs
edit ftplugin/*/*.template.vim
FEATUREs:
*-> automatically replace all item with the same name
*-> user-defined template variable or function can be automatically inserted
*-> stop position(marked by 'cursor') can be defined to indicate where the cursor stands after template rendering
*-> completion popup menu hint (NEW!!)
SCREEN-SHOTs:
http://sites.google.com/site/xptemplate/Home/screen-shoot
FEATURE request / BUG report :
I will be so gald to know that this script helps. You can help me to improve.
drdr.xp@gmail.com |
|
install details |
unpack and copy files into vim plugin directory |
|
script versions (upload new version)
Click on the package to download.
xt.0.2.2.tar.gz |
0.2.2 |
2008-06-15 |
7.0 |
drdr xp |
Fixed fix the bug of some text being selected at start
Fixed bug of cursor at first column not being rendered correctly
Fixed fix no item bug.
Added add default cursor position at template end
|
ip used for rating: 3.149.255.189
|