vi ':ab' command

J.SIMESTER sims at hou2b.UUCP
Tue Mar 20 06:19:06 AEST 1984


>>  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



More information about the Comp.unix mailing list