sponsor Vim development Vim logo Vim Book Ad

keepcomment.vim : Simple comment easy to keep coding

 script karma  Rating 12/10, Downloaded by 1639  Comments, bugs, improvements  Vim wiki

created by
Han-seok Ryu
 
script type
ftplugin
 
description
`u    comment line(s)
`o    uncomment line(s)

`i     comment line(s) while keep coding
            for trying new code line
            but if you want code line(s) keep intact
            ( default : same as `k, that is, to the upper )

`k    comment out to the upper
`j     comment out to the below
      
Visual blocking or numbering(buffer count) in normal mode
will work as expected.

Currently
for
        python, Makefile, snippet, cpp, javascript, ruby, sh
        matlab, tex, txt, anonymous, c, html

You might feel free to add other comment string and filetype
by modifying s:CommentStringMap
and sure you can change key map to your favorite.


If you're looking forward most mature and complete plugin,
you must ckeck [The NERD Commenter]

http://www.vim.org/scripts/script.php?script_id=1218

 
install details
drop in your plugin directory (i.e. vim/vimfiles/plugin etc)
 

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
keepcomment.vim 0.7 2013-11-26 7.3 Han-seok Ryu remap
keepcomment.vim 0.5 2013-11-08 7.3 Han-seok Ryu directable comment (up down)
KeepComment.vim 0.1 2013-05-08 7.3 Han-seok Ryu Initial upload
ip used for rating: 3.145.151.141

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