Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mhuxj.UUCP Path: utzoo!watmath!clyde!floyd!harpo!ihnp4!houxm!mhuxl!mhuxj!presley From: presley@mhuxj.UUCP (Joe Presley) Newsgroups: net.unix Subject: Re: "Toggling file names in vi" Message-ID: <1235@mhuxj.UUCP> Date: Wed, 28-Mar-84 13:37:12 EST Article-I.D.: mhuxj.1235 Posted: Wed Mar 28 13:37:12 1984 Date-Received: Fri, 30-Mar-84 00:16:00 EST References: <710@houxz.UUCP>, <994@ihuxr.UUCP> <344@houxu.UUCP> <248@astrovax.UUCP> <1617@ut-sally.UUCP> Organization: AT&T Bell Laboratories, Murray Hill Lines: 11 >> A great example of the use of toggling file names in vi is the use of the >> two files accessed by vi after a a (r)eply or (f)ollowup command from vnews. >> :n To go to the article file >> :e # To go back to the temporary file >> :$r # Read the article file into the original file. Why go to all that trouble? Just say ":$r $A": $A is the name of the article file, as is documented in the vnews(1) man page. -- Joe Presley (mhuxj!presley, ihnp4!j.presley)