sponsor Vim development Vim logo Vim Book Ad

simple_comments.vim : Add and remove comments from lines

 script karma  Rating 7/4, Downloaded by 1296  Comments, bugs, improvements  Vim wiki

created by
Anders Thøgersen
 
script type
utility
 
description
This is a plugin to comment out or remove comments from
lines in sourcecode using the comments in the commentsring
variable. It is intended to be as simple as possible and can only
handle the commenting or removal of comments from whole
lines.

There are much more sofisticated comment scripts on vim.org, but
I wanted something simple, so this script was created.

github: https://github.com/aklt/vim-simple_comments
 
install details
Uznip simple_comments.vba.zip, open the file and source it.  Installation requires the VimBall plugin.
 

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
simple_comments.vba.gz 1.2 2010-12-31 7.0 Anders Thøgersen Updated comment text and put script on github
simple_comments.vba.gz 1.1 2009-03-03 7.0 Anders Thøgersen Changed version numbering and added use of GetLatestVimScripts
simple_comments.vba.zip 253 2009-03-03 7.0 Anders Thøgersen Added syntax specific commenting.  If a dictionary contains an entry for the current filetype then syntax comments will be used instead. This is useful when editing html or php files that may contain languages requiring more than one type of comment... Script s still simple, though :-)
simple_comments.vba.zip 249 2009-03-02 6.0 Anders Thøgersen Bugfix.  Spaces are now handled correctly
ip used for rating: 3.145.36.10

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