[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Vim question



I just started learning python (i think it is great). Now i have the
following problem:
How can i comment 10 lines of code in a shot? That is, how can i add a
# at the begenning of a range of lines?

just to be more clear, i want to rasform

a=['a','b','c']
for i in a:
    do_something(i)
    print i

to

#a=['a','b','c']
#for i in a:
#    do_something(i)
#    print i

Thnx
PAolo
--


If you feel is a good idea, pleas correct my poor English

if you have a minute to spend pleas visit my photogrphy site:
http://mypic.altervista.org



Reply to: