Jeremiah
Jeremiah

Reputation: 751

vim plugin comment blocks

I looked around, but didn't find what I wanted. I need a vim plugin to insert blocks of code and prompt me for values in the comment.

//      **********************   BeWee   ************************
//      *** Creation Date:
//      *** Last Modification Date:
//      *** File name: BeWee.cpp
//      *********************************************************
//      *** Programmer:  Name
//      *** Email: Email
//      *********************************************************
//      *** This file contains the implementation for the class
//      *** BeWee.  The class BeWee models ...
//      ***
//      *********************************************************

I want to be prompted to enter the BeWee, Creation Data, etc

I currently have these comments in a file and just read them into the vim editor.

TIA

Upvotes: 1

Views: 722

Answers (3)

Taurus Olson
Taurus Olson

Reputation: 3161

In my opinion TSkeleton.vim could help you to do what you want. It can load the skeleton that you will have made and let you modify the different parts (values) on the fly.

Upvotes: 0

Pascal Immerzeel
Pascal Immerzeel

Reputation: 36

Look at SnipMate. Follow the install guide and make a snippet with the layout.

Upvotes: 1

lollinus
lollinus

Reputation: 434

Probably You are looking for template engine for vim.

Try this

Upvotes: 0

Related Questions