Thanks Mustafa!!

On Wed, Dec 8, 2010 at 21:32, mustafa hussain <[email protected]> wrote:

> the way i do it is
> ctrl+v+0
> then use up and down arrow keys (or other movement command) to select the
> block to comment.
> then press I (capital i)
> then add comment character (// for c, # for perl etc.)
> then press esc. it comments everything selected.
>
> to uncomment ctrl+v+0, select lines, X or 2X
>
> Mustafa.
>
> On Wed, Dec 8, 2010 at 5:36 PM, Kenneth Gonsalves 
> <[email protected]>wrote:
>
>> On Wed, 2010-12-08 at 08:53 +0000, Avikal Bansal wrote:
>> > Is there any possible modification in vim so that i can comment and
>> > uncomment the selected lines.
>>
>> this may help
>>
>> http://stackoverflow.com/questions/1883896/what-is-your-favorite-way-to-comment-several-lines-in-vim/1883940#1883940
>> --
>> regards
>> KG
>> http://lawgon.livejournal.com
>> Coimbatore LUG rox
>> http://ilugcbe.techstud.org/
>>
>> --
>> l...@iitd - http://tinyurl.com/ycueutm
>>
>
>  --
> l...@iitd - http://tinyurl.com/ycueutm
>



-- 
Thanks & Regards,
Avikal Bansal,
IIT Delhi.

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to