vim - Commenting out a function with NerdCommenter -


is there way this? know can obvious ones ,c , ,cs

but don't think there's binding commenting out entire function...

from anywhere inside function, do:

va{,c<space> 

off course, can map something:

:map ,o va{,c<space> 

so pressing ,o inside function comment (or uncomment if commented).


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -