HeaderCVS 1.0

HeaderCVS is a Vim plugin that auto-generates CVS Header before current cursor.
HeaderCVS is a Vim plugin that auto-generates CVS Header before current cursor. The CVS Header will automatically reflect current file name, current date and your description beside a standard CVS Header.

Developer comments

If you type ":HeaderCVS This is my file description." when editing file "Demo.sh", this plugin will add the following CVS Header before current cursor.

########################################################################
# Copyright MyCompany Inc. All Rights reserved
########################################################################
#
# File : Demo.sh
# Creator : AyuanX ( ayuanx#163.com )
# Creation Date : 2008-01-11
# Description : This is my file description.
#
########################################################################
# $Author$
# $Source$
# $Revision$
# $Date$
# $Id$
########################################################################
# $Log$
########################################################################

TIP:
Company Name and Creator are customizable, File Name and Date are auto generated.

WARNING:
This script is written with shell comment character '#' by default, you may need some workarounds manually to comment out the added header with other corresponding comment character.

Requirements:

Vim

INSTALLATION:

1. Please edit HeaderCVS.vim, customizing the following variables.
let s:company = "MyCompany"
let s:creator = "AyuanX ( ayuanx#163.com )"

2. Put HeaderCVS.vim into path "~/.vim/plugin/".

3. Type ":HeaderCVS YOUR DESCRIPTION HERE" to add CVS Header when editting files. (NOTE: You can insert spaces into your description or omit description.)

last updated on:
May 1st, 2008, 13:04 GMT
price:
FREE!
developed by:
AyuanX
license type:
GPL (GNU General Public License) 
category:
ROOT \ Text Editing&Processing \ Others

FREE!

In a hurry? Add it to your Download Basket!

user rating 12

UNRATED
3.0/5
 

0/5

Add your review!

SUBMIT