home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.editors
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!cs.utexas.edu!asuvax!ennews!enuxhb.eas.asu.edu!sridhar
- From: sridhar@enuxhb.eas.asu.edu (Sridhar Venkataraman)
- Subject: Re: How do we include a "|" in vi macros ??
- Message-ID: <1992Aug31.215226.6583@ennews.eas.asu.edu>
- Sender: news@ennews.eas.asu.edu (USENET News System)
- Organization: Arizona State University, Tempe AZ
- References: <1992Aug31.185656.12365@bnr.ca>
- Date: Mon, 31 Aug 1992 21:52:26 GMT
- Lines: 21
-
- mschee@bcarh600.bnr.ca (Michael SamChee)
- writes on comp.editors:
-
- )Does anyone know how one can include the pipe character "|" in a vi macro?
- )
- )eg. map ^A :!exec cat tmp | more
-
- Type as is in vi (colon mode) or in your .exrc:
-
- map ^V^A :!exec cat tmp ^V^V| more
-
- ^V,^A - Control-V and Control-A respectively.
-
- )Nothing I've tried seems to work.
- )Hmm.
- )
- )Thanxs,
- )Michael.
-
- Sridhar.
-
-