sponsor Vim development Vim logo Vim Book Ad

BlockComment.vim : Simple commenting and uncommenting of blocks of code

 script karma  Rating 364/156, Downloaded by 9608  Comments, bugs, improvements  Vim wiki

created by
Chris Russell
script type
The goal behind BlockComment was to be able to comment and uncomment blocks of code easily and to nicely format the comment block.  
My initial inspiration was EnhancedCommentify (vimscript #23) and ToggleCommentify (vimscript #4) but I have since rewritten BlockComment from the ground up to simplify the code and provide for greater ease of use and maintainability.
install details
Simply drop this file into your plugin directory.
Use '.c' to comment code and '.C' to uncomment code.

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
BlockComment.vim 1.1 2002-11-08 6.0 Chris Russell Bug fix: convert file to unix eol
BlockComment.vim 1.0 2002-11-05 6.0 Chris Russell Initial upload
ip used for rating:

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.