Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site fortune.UUCP
Path: utzoo!watmath!clyde!floyd!harpo!ihnp4!fortune!tierney
From: tierney@fortune.UUCP
Newsgroups: net.unix
Subject: Re: vi question - (nf)
Message-ID: <2811@fortune.UUCP>
Date: Wed, 21-Mar-84 23:05:54 EST
Article-I.D.: fortune.2811
Posted: Wed Mar 21 23:05:54 1984
Date-Received: Fri, 23-Mar-84 07:22:42 EST
Sender: notes@fortune.UUCP
Organization: Fortune Systems, Redwood City, CA
Lines: 33

#R:houxz:-71000:fortune:26900032:000:558
fortune!tierney    Mar 21 17:43:00 1984

***** fortune:net.unix / houxz!halle1 /  6:28 am  Mar 20, 1984
Is there any way to switch to a file, do some editing, then come
back to the original file?  I know that :n file2 file1   will work,
but that can get inconvenient when long paths must be typed in.
----------


Why, of course there is!


	try:

		(edit, edit, edit, etc. file 1)

		:w		#save file 1 changes

		:e file2	#edit file2

		:e#		#edit the alternate file (file 1)

	:e XXX   edits XXX 

	:e#	 edits the alternate file

		 and you can switch back and forth.

Wonderful.
	charlie tierney