Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get NERDCommenter to add comments in a particular column?

NERDCommenter works like this by default:

//level1
    //level2
        //level3

How do I get to work like this?

//level1
//    level2
//        level3
like image 310
roshanvid Avatar asked Jan 24 '12 07:01

roshanvid


1 Answers

From the documentation:

[count]<leader>cl  
[count]<leader>cb    |NERDComAlignedComment|  

Same as |NERDComComment| except that the delimiters are aligned down the left side (cl) or both sides (cb).

like image 177
Rob Wouters Avatar answered Oct 26 '22 13:10

Rob Wouters