Thread View: comp.editors
2 messages
2 total messages
Started by Patrick Lamastus
Fri, 08 Jan 1993 20:22
vi or elvis HIGH-LIGHT
Author: Patrick Lamastus
Date: Fri, 08 Jan 1993 20:22
Date: Fri, 08 Jan 1993 20:22
8 lines
600 bytes
600 bytes
Hi!, Is there any way to high-light text in vi or elvis. What I want to do is delete, paste or copy high-lighted text. Patrick lamastus@sunny.dab.ge.com
Re: vi or elvis HIGH-LIGHT
Author: nicholas.hounsome
Date: Tue, 12 Jan 1993 08:49
Date: Tue, 12 Jan 1993 08:49
20 lines
1214 bytes
1214 bytes
From article <1993Jan8.202201.5236@ge-dab.GE.COM>, by lamastus@sundew.dab.ge.com (Patrick Lamastus): > Hi!, > > Is there any way to high-light text in vi or elvis. > > What I want to do is delete, paste or copy high-lighted text. > > Patrick > lamastus@sunny.dab.ge.com In elvis use v (char) or V (lines) eg. If I was at the start of the previos line and wanted "use v" I would type ww to move to the start of "use". "v" starts highlighting and "ee" movement commands extend the selection to the "v". "d" then deletes this highlighted text. I think that it is quite neat although to be honest I don't use it much 'cos I am an old hand at vi. Something to watch is that the display can be confusing if you have a block cursor 'cos it looks like you have one less character selected.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads