Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin-nerdcommenter]

Vim plugin for intensely orgasmic commenting

2
votes
0answers
348 views

change default comment in nerd commenter

In nerdcommenter, the default comment is /* */. I tried to change it to # for plain text as: "NerdCommenter {{{ " Add spaces after comment delimiters by default let g:NERDSpaceDelims = 1 " Use ...
5
votes
1answer
378 views

Map NERDComToggleComment to a keyboard shortcut

To use NERDComToggleComment, I need to type <Leader>c<Space> (in my case, Leader is ,). I would like to map this to a Ctrl+C (or Ctrl+any key if Ctrl+C is reserved/unavailable for any ...
5
votes
1answer
561 views

Uncomment multiline block with NERDCommenter

Is it possible using NERD-commenter to uncomment a multiline block under the cursor without selecting the entire block visually first? If no, are there any better plugins, that can do the job? Here ...
4
votes
0answers
664 views

Configure custom key mapping for commenting

I am using https://github.com/scrooloose/nerdcommenter/ plugin to comment the code. It's working fine, but I would like to do a modification. Currently these are the default mappings: <leader>...
0
votes
2answers
386 views

How can I change/delete comments easily?

For commenting and uncommenting I now use the vim-commentary plugin, also the NERD commenter can be used as mentioned in: How to comment out a set of lines which are selected in visual mode? I would ...
2
votes
1answer
263 views

Plugin config settings: Newline “\n” returns ^@ control character?

I'm trying to configure the NERDCommenter plugin to handle multiline ruby comments (i.e., nested inside =begin and =end). The relevant setting is something like this: let g:NERDCustomDelimiters = { ...
5
votes
2answers
2k views

What does [count]<leader> mean?

I found a command in NERDCommenter like this: [count]<leader>cc |NERDComComment| I have installed the plugin. But, I don't know how to make it work. So what's the meaning of that command? How ...