Not long ago, Wade Preston Shearer proclaimed...
>> Would you mind ellaborating on what exactly it is you want to do?
>>
>> If what you want to do is make a similar change to multiple lines, then,
>> yes, it is VERY possible.
>
> Yes, that is what I want. Add a "#" to the begging of six lines in a row 
> for example. Or remove a "#" from several lines in a row. Or, add "<li><a 
> href="">" to the beginning of several lines of text. You get the idea.

Hitting 'v' to go into Visual Block mode will let you highlight a few
lines. Then, you can use regular expression substitution to make
replacements:

:s/^/# /

(REplace the beginning of the line with '# '.)

-=Fozz

-- 
[EMAIL PROTECTED] is Doran L. "Fozz" Barton
 " Stop: Drive Sideways."
    -- Detour sign in Kyushi, Japan

Attachment: pgpOrXzCr5Ry5.pgp
Description: PGP signature

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to