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
// ***********开发者_Go百科**********************************************
// *** 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
Look at SnipMate. Follow the install guide and make a snippet with the layout.
Probably You are looking for template engine for vim.
Try this
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.
精彩评论