home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.editors
- Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!att!cbnewsc!cbfsb!cbnewsg.cb.att.com!nh
- From: nh@cbnewsg.cb.att.com (nicholas.hounsome)
- Subject: Re: vi or elvis HIGH-LIGHT
- Message-ID: <1993Jan12.084917.20409@cbfsb.cb.att.com>
- Sender: news@cbfsb.cb.att.com
- Organization: AT&T
- References: <1993Jan8.202201.5236@ge-dab.GE.COM>
- Date: Tue, 12 Jan 1993 08:49:17 GMT
- Lines: 21
-
- 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.
-
-