Skip to content

neoclide/mycomment.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mycomment

DEPRECATED

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

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

Install

Use your favourite plugin manager add something like Bundle 'chemzqm/mycomment.vim'

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.

If you have emmet-vim, the plugin would use emmet comment function for comment toggle of tags in html/xml/xhtml files

LICENSE

MIT