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!floyd!harpo!seismo!rlgvax!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP Newsgroups: net.unix Subject: Re: vi question Message-ID: <6083@umcp-cs.UUCP> Date: Thu, 22-Mar-84 15:07:25 EST Article-I.D.: umcp-cs.6083 Posted: Thu Mar 22 15:07:25 1984 Date-Received: Sun, 25-Mar-84 09:43:09 EST References: <6056@umcp-cs.UUCP> <856@elsie.UUCP> Organization: Univ. of Maryland, Computer Science Dept. Lines: 15 Actully, it's control-^ which can toggle between two files. It's a built-in macro (the same way ~ is a built-in macro) which expands to ":e #". This will work if you either have autowrite set or if you haven't modified the current file. [The reason you have to use control-~ on VT100s is DEC didn't put control-^ on the key with ^ (they did something similar with control-@, it's control-space-bar). Fortunately all the other control keys are where they are supposed to be.] Isn't it amazing what you can find when you read the source? -- 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