sponsor Vim development Vim logo Vim Book Ad

xtemplate : code template engine

 script karma  Rating 12/6, Downloaded by 609    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    
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
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: 54.198.33.96

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo