sponsor Vim development Vim logo Vim Book Ad

LineCommenter : Toggle Comment state of line.(C/C++/Java/perl/python/ruby/awk/sh/104 languages)

 script karma  Rating 52/36, Downloaded by 1322  Comments, bugs, improvements  Vim wiki

created by
x sq
 
script type
utility
 
description
Toggle Comment state of line.(C/C++/Java/perl/python/ruby/awk/sh/104 languages)

<Esc>cc     Toggle comment state of the current line
<Esc>ncc   Toggle n straight lines.

Supported file type:    Over 104 languages

   //:        C, C++, java, javascript, etc.
   #:        awk, makefile, perl, python, ruby, sed, sh, etc.
   ":         vim
   ':         asp, basic, vbscript
   ;:         asm, ini, etc.
   rem :  bat
   --:       sql, etc.
   %:      matlab, tex, etc.
...
 
install details
Just drop this script file into vim's plugin directory.
 

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
LineCommenter.vim 2.0.0 2008-11-12 7.0 x sq 1.Some optimization
2.Add some new languages,  total 104 languages
ip used for rating: 3.149.230.44

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