Vim:Plugin:NERDCommenter
lastmod 2021-03-13created 2015-02-136 edits
Command list
- <leader>
cc - NERDComComment
- Comments out the current line or the text selected in visual mode
- <leader>
cm - NERDComMinimalComment
- Comments out using a multi-line comment.1
- <leader>
cl
<leader>cb - NERDComAlignedComment
- Same as NERDComComment except that it aligns the comment delimiters. cl aligns left, cb aligns both sides.
- <leader>
cu - NERDComUncommentLine
- Uncomments the selected lines.
Favorite site
- NERD-Commenter project site
- vim plugin:: nerdcommenter
- How to use NERD Commenter for vim — how to use <Leader> key
References
-
For C++,
/* ~ */↩