I am using this commenting mapping to place /* */ around text:

map <C-c> :s/^\(.*\)$/\/\* \1 \*\//<CR>:nohls<CR>

However, I would like it be tighter, meaning that instead of

/*     blah blah blah */

I would like to see

    /* blah blah blah */

Is there a way to do this?

DVM

Reply via email to