Obscure Vi bug?
Gunter Steinbach
steinbac at hpl-opus.HP.COM
Wed Aug 1 01:36:25 AEST 1990
> / hpl-opus:comp.unix.questions / lester at ingr.com (Lester Bartel) /
> 8:12 am Jul 30, 1990 /
> While we are on the subject of vi macro bugs, I have one to add.
> I cannot seem to make the | (pipe) work in a macro. What I want is
That one works for me (HP-UX 7.0) if I precede the | with a ^V. Try this:
:map \ 70^V|
where the ^V gets entered as "^V^V". The pipe is a command delimiter
in ex (as e.g. in ":w|n"), therefore it needs escaping.
Guenter Steinbach gunter_steinbach at hplabs.hp.com
More information about the Comp.unix.questions
mailing list