Vim: Toggle Comments (any language)

The easiest way is to get NERDCommenter:

Plug 'preservim/nerdcommenter'
:PlugInstall

and use <leader>c<space> to toggle comments.

By default <leader> is backspace (\).


To contact me, send an email anytime or leave a comment below.