Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!caen!sdd.hp.com!hplabs!hpl-opus!steinbac From: steinbac@hpl-opus.hpl.hp.com (Guenter Steinbach) Newsgroups: comp.editors Subject: Re: vi macros and pipe operator Message-ID: <62420026@hpl-opus.hpl.hp.com> Date: 8 Feb 91 16:23:11 GMT References: <1991Feb7.031740.21948@hybrid.UUCP> Organization: HP Labs, High Speed Electronics Dept., Palo Alto, CA Lines: 18 In comp.editors, javey@hybrid.UUCP (shahram javey) writes: > map v o| > When i try to execute this macro I get a blank line. Where is the vertical > bar? I thought that in insert mode you should be able to enter any character. > Well, o puts you in insert mode. What is missing? What is mising is a control-V before the pipe to escape it (turn off its special meaning). I guess you lose that pipe when the macro is defined, not when it is interpreted. This works for me when :so'urced into a vi session: map v o^V| Good luck, and get those Basselopes something to do! Guenter Steinbach gunter_steinbach@hplabs.hp.com