sponsor Vim development Vim logo Vim Book Ad

license loader : a vim script to load a license template

 script karma  Rating 0/0, Downloaded by 609  Comments, bugs, improvements  Vim wiki

created by
zpcat su
 
script type
utility
 
description
a vim script to load a license template

Usage:
:call  LoadMyLicense('apache')

you can add or modify the license template in templates/license/*
 
install details
1.  copy plugin/loadLicences.vim to ~/.vim/plugin/
    copy templates/license/* to ~/.vim/templates/license/

2. edit .vimrc add following lines

let g:T_AUTHOR = "XXX"
let g:T_AUTHOR_EMAIL = "foo@far.com"
let g:T_DATE_FORMAT = "%c"

" maybe you need following settings to
" fast input template information not defined
"  in formate of <+template+>
nnoremap <C-j> /<+.\{-1,}+><CR>c/+>/e<CR>
inoremap <C-j> <ESC>/<+.\{-1,}+><CR>c/+>/e<CR>
 

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
licenseLoader-0.1beta.tar.gz 0.1-beta 2012-05-13 7.0 zpcat su Initial upload
ip used for rating: 44.220.184.63

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.
   
Vim at Github