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>
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 44.220.184.63
|