home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!usenet.coe.montana.edu!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!cs.ucf.edu!crigler
- From: crigler@cs.ucf.edu (James Crigler)
- Newsgroups: comp.unix.misc
- Subject: Re: how to return to exactly the same editing spot in vi (not '')
- Message-ID: <crigler.724356872@eola.cs.ucf.edu>
- Date: 14 Dec 92 18:14:32 GMT
- Article-I.D.: eola.crigler.724356872
- References: <1992Dec12.005221.17511@porthos.cc.bellcore.com>
- Sender: news@cs.ucf.edu (News system)
- Organization: University of Central Florida
- Lines: 18
-
- tony2@prefect.cc.bellcore.com (gozdz,antoni s) writes:
-
- >Hi netters,
-
- >A simple question about vi: when I want to return
- >quickly to the previous edited spot and use '',
- >the cursor returns to the beginning of the line;
- >is there a command (simple! like '') that would return
- >me to the exact spot (word, character) last edited on
- >that line?
-
- >Tony
-
- Yes, absolutely! use `` (two "backquotes" a/k/a "grave accents"). This
- will go exactly to the place you marked (or requested an absolute jump
- from).
-
- Jim Crigler
-