nerdcommenter
nerdcommenter copied to clipboard
let g:NERDDefaultAlign = 'left' , does not comment at start of line
If I've read the docs correctly,
let g:NERDDefaultAlign = 'left'
should result in NerdCommenter adding the comment to the start of the line instead of the indented position just before the first non-whitespace character.
However, testing this it doesn't seem to change the default behaviour and still adds comments indented instead of at the start of the line.
it seems that only
it seems that only cs is the only keybinding to activate that sort of commenting format , the aforementioned option didn't work out for me too .
cs?
it seems that only cs is the only keybinding to activate that sort of commenting format , the aforementioned option didn't work out for me too .
cs?
From :h NERDCommenterSexy
3.2.6 Sexy comment map *NERDCommenterSexy*
Default mapping: [count]|<Leader>|cs
Mapped to: <plug>NERDCommenterSexy
Applicable modes: normal, visual-line.
Comments the selected line(s) ``sexily''. See |NERDCommenterSexyComments| for
a description of what sexy comments are. Can only be done on filetypes for
which there is at least one set of multipart comment delimiters specified.
Sexy comments cannot be nested and lines inside a sexy comment cannot be
commented again.
If a [count] is given in normal mode, the mapping works as though that many
lines were selected in visual-line mode.
Related options:
|'NERDCompactSexyComs'|