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: vi ':ab' command Message-ID: <237@hou2b.UUCP> Date: Mon, 19-Mar-84 15:19:06 EST Article-I.D.: hou2b.237 Posted: Mon Mar 19 15:19:06 1984 Date-Received: Tue, 20-Mar-84 01:56:26 EST References: <1093@cwruecmp.UUCP>, <1484@ut-sally.UUCP> Organization: AT&T Bell Labs, Holmdel NJ Lines: 19 >> It's not necessary for the "ab"-ed form to be the first >> few letters of the expanded form. Even this is okay - >> :ab q xylophone >> But as you type in the abbreviation, leave a blank after it so that vi will >> know that it needs to expand. This makes it possible to type in a word like >> quiet >> without having it suddenly expanded to - >> xylophoneuiet !! However, one might want to think twice before using "q" (or "w" or any other editor commands) as a definition. Otherwise, you're in for a real shock when you try to quit (write, etc.) Jim houxm!hou2b!sims -- Jim ..!houxm!hou2b!sims