xtemplate is a code template engine for Vim.
Here are some key features of "xtemplate":
· auto 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
Requirements:
· Vim
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
DEFINE TEMPLATES
edit ftplugin/*/*.template.vim
What's New in This Release:
· Fixed bug of popup menu while no word char under cursor
· Fixed bug syn highlight not cleared
· Fixed bug unrecognized item at 1st column
· Fixed bug first item is in insert mode not select mode
Product's homepage