On Tuesday 09 September 2003 22:17, Herculano de Lima Einloft Neto 
wrote:
>   I guess this is an easy one.. how can I insert / delete something
> at the beggining of each line of a block in vi? Still can't figure
> it, though there must be at least ten ways.
>
> Thanks in advance

1 of 10 ...

Place cursor at the beginning of the first line you want to change.
Press <CTRL>v
Move the cursor down to the last line you want to change.
Press I (The capital letter after H and before J)
Type in the text you wish to insert
Press <ESC>

Now all lines selected should show the inserted text.

Regards,  Mike Klinke



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to