sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

mycomment : quickly toggle comment without thinking

 script karma  Rating 1/1, Downloaded by 120    Comments, bugs, improvements  Vim wiki

created by
qiming zhao
 
script type
utility
 
description
# Mycomment

_A stupid comment plugin made for people can't remember so many mappings:)_

You only need to remember one mapping for comment:  `<leader>c`

## API

### [count]\<leader\>cc

Toggle comment of `count`(default current line) lines.

### \<leader\>cip

Toggle comment of a block. Yes, it's a motion mapping, `ip` could be any motion object.

### V\*\*\*\<leader\>c

Select a block and toggle comment

## More productive

You can use `.` to repeat your last comment command, no need [vim-repeat](https://github.com/tpope/vim-repeat).

If you have [emmet-vim](https://github.com/mattn/emmet-vim), the plugin would use emmet comment function for comment toggle of tags in html/xml/xhtml files

## License

MIT
 
install details
Install with your favorite plugin managers like NeoBundle/Plugin/Plug
>
>
NeoBundle 'chemzqm/mycomment'
Plugin 'chemzqm/mycomment'
Plug 'chemzqm/mycomment'
 

Rating scripts is only available on the HTTPS page

script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
mycomment.zip 0.1.0 2016-01-10 7.0 qiming zhao Initial upload
ip used for rating: 54.166.150.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.
   
SourceForge.net Logo