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.
- Vim 8.0 or later
- operator-user 0.1.0 or later
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)
You can access the documentation from within Vim using :help operator-comment
.