Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83 based; site hou2b.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!hou2b!sims From: sims@hou2b.UUCP (J.SIMESTER) Newsgroups: net.unix Subject: Re: Using w, q, etc with :ab Message-ID: <242@hou2b.UUCP> Date: Fri, 23-Mar-84 10:31:51 EST Article-I.D.: hou2b.242 Posted: Fri Mar 23 10:31:51 1984 Date-Received: Sun, 25-Mar-84 08:02:48 EST Organization: AT&T Bell Labs, Holmdel NJ Lines: 27 I submitted an article warning about using q or w or any other editor commands as abbreviations for :ab. I've received several mail responses claiming that there is no problem, since ab is only operational during text insert mode. WRONGO!! Perhaps there are some versions of vi for which the above assertion holds. However, for the version I have, I know for a fact that if I define an abbreviation using :ab q foobar and try to use :q to exit vi, I get the message foobar is not an editor command Rather than believe whatever it says in your documentation, try it! (At least one respondant did, and found I was right.) Question: Are there versions of vi floating around for which this is not true? I'm submitting this to the NET rather than using mail because the confusion does seem reasonably wide-spread, and this sure beats N mail replies. -- Jim ..!houxm!hou2b!sims