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

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -