[Dub-pm] Tip of the day: Multi-line commenting

Sean O'Riordain seanpor at acm.org
Wed Apr 14 07:49:54 CDT 2004


i just say something like

12,964s/^/#/
or
.,.+18s/^/#/
or
.,$s/^/#/

there is another "easier" way in the vi creature book... but i can't 
remember :-)

cheers,
Sean



Dave O Connor wrote:
> Here's an exercise for the reader (since my vim skillz suck): What's an easy
> way to prepend a hash to a block of selected text?



More information about the Dublin-pm mailing list