[Tutor] Commenting a big block of code

Girish Gajwani girishg@india.ti.com
Wed, 19 Sep 2001 14:47:19 +0530


Hi All,

I wish to comment out a big block of code. It is rather
painful to go and insert a "#" in front of each line of
code. 

Is there any "Block Comment" feature or perhaps someone
would just send me a VIM macro which I can use to select a
block of code in visual mode & then use some key mapped to
the macro & within a blink of an eye find all the lines
commented out.

For now, I am just cutting out these lines & putting them in
a temporary area from where I retrieve them as necessary.

Thanks 
Girish