sponsor Vim development Vim logo Vim Book Ad

EZComment : Vim global plugin for manipulating comments

 script karma  Rating 5/2, Downloaded by 1393  Comments, bugs, improvements  Vim wiki

created by
Mike Richman
 
script type
utility
 
description
EZComment is a Vim global plugin for manipulating comments
in code.  It tries to both very flexible and very easy to
use.  EZComment provides mappings for two general kinds of
tasks: inserting and editing text comments, and
commenting/uncommenting actual code.

Use and customization of EZComment is discussed in detail in
the provided help file.  Here is the quick start information
(from the documentation):

-------------------------------------------------------------
Here are some -very- brief hints about the mappings to get
started quickly.  The mappings try to remind you of standard
Vim commands, so just try them!  If something is not
obvious, then check the documentation for details.

From normal mode:
to make new comments |gca|, |gci|, |gco|, |gcO|
to edit comments |gcA|, |gcC|

From visual mode, or from normal mode followed by {motion}:
to comment code |gcc|
to uncomment code |gcuc|
-------------------------------------------------------------

Please contact the author with comments, questions, or
suggestions!

 
install details
To install, drop ezcomment.zip in your runtime directory
(e.g. ~/.vim) and unzip it there.  To use the help file,
make sure to run :helptags ~/.vim/doc.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
ezcomment.zip 0.1.5 2008-12-27 7.0 Mike Richman Fixed a big oops -- one of the main functions was accidentally deleted in the previous upload.  Now everything should be working normally.
ezcomment.zip 0.1.4 2008-12-27 7.0 Mike Richman Fixed a bug causing incorrect behavior when the cursor was at the end of the line.
ezcomment.zip 0.1.3 2008-06-25 7.0 Mike Richman Added ability to position trailing comments for C preprocessor code independently of the position of normal trailing comments.
ezcomment.zip 0.1.2 2008-06-11 7.0 Mike Richman Bug fix: {Visual}gcuc was only was only uncommenting the first line in the selection.  Corrected behavior is to uncomment every line in the selection.
ezcomment.zip 0.1.1 2008-06-11 7.0 Mike Richman Changed name to EZComment; updated manual to reflect change.
ezcom.zip 0.1.0 2008-06-09 7.0 Mike Richman Initial upload
ip used for rating: 3.16.81.94

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github