Skip to content

emonkak/vim-operator-comment

Repository files navigation

operator-comment

operator-comment is a very simple plugin that only provides two operators to comment out and uncomment. A comment format is only determined by 'commentstring' option. Plugin specific settings are nothing.

Requirements

Usage

The plugin does not provide any default key mappings. You have to configure key mappings like the following:

map gc  <Plug>(operator-comment)
map gC  <Plug>(operator-uncomment)
nmap gcc  <Plug>(operator-comment)<Plug>(operator-comment)
nmap gCC  <Plug>(operator-uncomment)<Plug>(operator-uncomment)

Documentation

You can access the documentation from within Vim using :help operator-comment.

About

Operators to comment out or uncomment a text

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published