vi question

chris at umcp-cs.UUCP chris at umcp-cs.UUCP
Fri Mar 23 06:07:25 AEST 1984


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 #<RETURN>".  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 at umcp-cs		ARPA:	chris.umcp-cs at CSNet-Relay



More information about the Comp.unix mailing list