看看spf13中的介绍:
NERDCommenter allows you to wrangle your code comments, regardless of filetype. Viewhelp :NERDCommenter
or checkout my post on NERDCommenter.
QuickStart Toggle comments using<Leader>c<space>
in Visual or Normal mode.
渣翻译:
NERDCommenter允许你快速注释代码段,不限文件类型。
快速启动:<leader>c<space>在可视模式或普通模式
插件功能介绍非常简单,我们来看看NERDCommenter官网:
Most of the following mappings are for normal/visual mode only. The|NERDComInsertComment| mapping is for insert mode only.
-
[count]<leader>cc
|NERDComComment|Comment out the current line or text selected in visual mode.
-
[count]<leader>cn
|NERDComNestedComment|Same as cc but forces nesting.
-
[count]<leader>c<space>
|NERDComToggleComment|Toggles the comment state of the selected line(s). If the topmost selected line