AuthorInfo : You can add your author info in any source files,such as cpp,c,java,and c#.
script karma |
Rating 68/42,
Downloaded by 5541 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
zhu nianyang |
|
script type |
ftplugin |
|
description |
You can add your author info in any source files,such as cpp,c,java,and c#,python,php,bash....
Like this:
/*=============================================================================
# Author: dantezhu - http://www.vimer.cn
# Email: [email protected]
# FileName: test2.cpp
# Description:
# Version: 0.0.1
# LastChange: 2011-02-15 19:32:25
# History:
=============================================================================*/
when you type <F4>,this will add in the head of your source file,and when you type <F4> again,It will update automatically.
1)you need install The NERD Commenter first.
url is : http://www.vim.org/scripts/script.php?script_id=1218
2)you need some config in vimrc:
let g:vimrc_author='dantezhu'
let g:vimrc_email='[email protected]'
let g:vimrc_homepage='http://www.vimer.cn'
nmap <F4> :AuthorInfoDetect<cr>
My homepage is http://www.vimer.cn,and wellcome。 |
|
install details |
Put this file in the vim plugins directory (~/.vim/plugin/) to load it automatically. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 172.69.130.153
|