home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / editors / 3203 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.2 KB  |  33 lines

  1. Newsgroups: comp.editors
  2. Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!att!cbnewsc!cbfsb!cbnewsg.cb.att.com!nh
  3. From: nh@cbnewsg.cb.att.com (nicholas.hounsome)
  4. Subject: Re: vi or elvis HIGH-LIGHT
  5. Message-ID: <1993Jan12.084917.20409@cbfsb.cb.att.com>
  6. Sender: news@cbfsb.cb.att.com
  7. Organization: AT&T
  8. References: <1993Jan8.202201.5236@ge-dab.GE.COM>
  9. Date: Tue, 12 Jan 1993 08:49:17 GMT
  10. Lines: 21
  11.  
  12. From article <1993Jan8.202201.5236@ge-dab.GE.COM>, by lamastus@sundew.dab.ge.com (Patrick Lamastus):
  13. > Hi!,
  14. > Is there any way to high-light text in vi or elvis.
  15. > What I want to do is delete, paste or copy high-lighted text. 
  16. > Patrick
  17. > lamastus@sunny.dab.ge.com
  18.  
  19. In elvis use v (char) or V (lines)
  20.  
  21. eg. If I was at the start of the previos line and wanted "use v"
  22. I would type ww to move to the start of "use". "v" starts highlighting
  23. and "ee" movement commands extend the selection to the "v". "d" then
  24. deletes this highlighted text. I think that it is quite neat
  25. although to be honest I don't use it much 'cos I am an old hand at vi.
  26.  
  27. Something to watch is that the display can be confusing if you have
  28. a block cursor 'cos it looks like you have one less character selected.
  29.  
  30.