Path: utzoo!attcan!uunet!mailrus!cs.utexas.edu!know!samsung!uakari.primate.wisc.edu!ames!haven!udel!udccvax1!sun.udel.edu!bluetrol From: bluetrol@sun.udel.edu (Bluetroll) Newsgroups: comp.editors Subject: Re: vi, word completion Message-ID: <12598@sun.udel.edu> Date: 11 Jul 90 14:46:32 GMT References: <4789@munnari.oz.au> Reply-To: bluetrol@sun.udel.edu (Bluetroll) Organization: University of Delaware Lines: 15 In article <4789@munnari.oz.au> dtau@mullian.ee.mu.OZ.AU (David Au) writes: > map! ^K ^[a. ^[bbmmi?\<^[2h"zdt.@z^Mywmx`mPbea ^[dwbis^["zdt.x@z > map! ^N ^[a. ^[bbdw`xnywmx`mPbea ^[dwbis^["zdt.x@z > map! ^P ^[a. ^[bbdw`xNywmx`mPbea ^[dwbis^["zdt.x@z I am using version SVR3.1 on a sun 3/50 under SunOS 4.1. With this version the ^K macro worked but the ^N and ^P would fail because deleting the period at the end of the ^K macro also deleted the m mark. I had to add mm to both of them. map! ^N ^[a. ^[bbdwmm`xnywmx`mPbea ^[dwbis^["zdt.x@z map! ^P ^[a. ^[bbdwmm`xNywmx`mPbea ^[dwbis^["zdt.x@z ^^ I like these macros! Doke Scott