tags:

views:

202

answers:

3

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

A: 

Probably You are looking for template engine for vim.

Try this

lollinus
+1  A: 

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

Pascal Immerzeel
Documentation is pretty much the entire reason I use snipmate. Saves so much time.
Randy Morris
This has worked out great for me. Thanks
Jeremiah
A: 

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.

Taurus Olson