forked from vim-scripts/AuthorInfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
29 lines (22 loc) · 1.05 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
基于原版上进行一些小小的修改
This is a mirror of http://www.vim.org/scripts/script.php?script_id=2902
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。