sponsor Vim development Vim logo Vim Book Ad

AuthorInfo : You can add your author info in any source files,such as cpp,c,java,and c#.

 script karma  Rating 51/27, Downloaded by 2736    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:           zny2008@gmail.com
#  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='zny2008@gmail.com'
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.
 

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
authorinfo.vim 1.5 2011-08-18 7.0 zhu nianyang support skip bash's #!xxx
authorinfo.vim 1.4 2011-02-23 7.0 zhu nianyang I am so sorry,the nerd comment is upgrade,it's mapping was changed.
Now,I fix the bug.
authorinfo.vim 1.3 2011-02-15 7.0 zhu nianyang more comfortable~
authorinfo.vim 1.2 2011-02-15 7.0 zhu nianyang need install The NERD Commenter first.
url is : http://www.vim.org/scripts/script.php?script_id=1218
AuthorInfo.vim 1.0 2009-12-27 6.0 zhu nianyang Initial upload
ip used for rating: 54.163.84.123

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