Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!harpo!seismo!rlgvax!cvl!umcp-cs!chris
From: chris@umcp-cs.UUCP
Newsgroups: net.unix
Subject: Re: vi question
Message-ID: <6056@umcp-cs.UUCP>
Date: Wed, 21-Mar-84 10:56:14 EST
Article-I.D.: umcp-cs.6056
Posted: Wed Mar 21 10:56:14 1984
Date-Received: Thu, 22-Mar-84 02:01:34 EST
References: <710@houxz.UUCP> <994@ihuxr.UUCP>
Organization: Univ. of Maryland, Computer Science Dept.
Lines: 20

You can also use

    :w
    :e otherfile
    ...
    :w
    :e #

The pound sign expands to the "alternate" filename.  There is
only one alternate filename; it's the name of the file you were
last editing (i.e. ":n" makes the current filename become the
alternate filename).

Percent sign (%) expands to the current filename.

Both of these work for ":!" also.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris@umcp-cs		ARPA:	chris.umcp-cs@CSNet-Relay