home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / misc / 4572 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.0 KB

  1. Path: sparky!uunet!ogicse!usenet.coe.montana.edu!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!cs.ucf.edu!crigler
  2. From: crigler@cs.ucf.edu (James Crigler)
  3. Newsgroups: comp.unix.misc
  4. Subject: Re: how to return to exactly the same editing spot in vi (not '')
  5. Message-ID: <crigler.724356872@eola.cs.ucf.edu>
  6. Date: 14 Dec 92 18:14:32 GMT
  7. Article-I.D.: eola.crigler.724356872
  8. References: <1992Dec12.005221.17511@porthos.cc.bellcore.com>
  9. Sender: news@cs.ucf.edu (News system)
  10. Organization: University of Central Florida
  11. Lines: 18
  12.  
  13. tony2@prefect.cc.bellcore.com (gozdz,antoni s) writes:
  14.  
  15. >Hi netters,
  16.  
  17. >A simple question about vi: when I want to return
  18. >quickly to the previous edited spot and use '',
  19. >the cursor returns to the beginning of the line;
  20. >is there a command (simple! like '') that would return
  21. >me to the exact spot (word, character) last edited on
  22. >that line?
  23.  
  24. >Tony 
  25.  
  26. Yes, absolutely!  use `` (two "backquotes" a/k/a "grave accents").  This
  27. will go exactly to the place you marked (or requested an absolute jump
  28. from).
  29.  
  30. Jim Crigler
  31.