Re: vim question - comment multiple lines
From: MKlinke (mklinke_at_axsi.com)
Date: 09/10/03
- Previous message: Jason Dixon: "Re: vim question - comment multiple lines"
- In reply to: Herculano de Lima Einloft Neto: "vim question - comment multiple lines"
- Next in thread: Bret Hughes: "Re: vim question - comment multiple lines"
- Reply: Bret Hughes: "Re: vim question - comment multiple lines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: redhat-list@redhat.com Date: Tue, 9 Sep 2003 23:55:41 -0500
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:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Jason Dixon: "Re: vim question - comment multiple lines"
- In reply to: Herculano de Lima Einloft Neto: "vim question - comment multiple lines"
- Next in thread: Bret Hughes: "Re: vim question - comment multiple lines"
- Reply: Bret Hughes: "Re: vim question - comment multiple lines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|