Xref: utzoo comp.unix.questions:8892 comp.unix.wizards:10585
Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!mailrus!umix!b-tech!umich!cja
From: cja@zippy.eecs.umich.edu (Charles J. Antonelli)
Newsgroups: comp.unix.questions,comp.unix.wizards
Subject: Re: VI map question
Summary: here's how
Message-ID: <1069@zippy.eecs.umich.edu>
Date: 17 Aug 88 01:54:34 GMT
Article-I.D.: zippy.1069
References: <1668@aplcomm.jhuapl.edu>
Sender: news@zippy.eecs.umich.edu
Reply-To: cja@zippy.eecs.umich.edu (Charles J. Antonelli)
Organization: University of Michigan EECS Dept. Ann Arbor
Lines: 14
UUCP-Path: ihnp4!umich!eecs.umich.edu!cja

In article <1668@aplcomm.jhuapl.edu> @aplvax.jhuapl.edu:jwm@stdc.jhuapl.edu (Jim Meritt) writes:
>I am trying to get fmt mapped in my .exrc (to format and replace text) ...

i use:
	map @ {j!}fmt^M}be
hitting @ anywhere within a paragraph formats the paragraph, then positions
to the next paragraph.  you type ^V^M to put ^M in your .exrc (assuming ^V is
your `literal-next' character).  you can replace `fmt' with any legal shell
command line, which should answer your second question.

Charles J. Antonelli          Internet: cja@crim.eecs.umich.edu
44 ATL, 1101 Beal Ave.        Uucp: {ihnp4,umix,citi}!umich!eecs.umich.edu!cja
The University of Michigan    Phone: 313-936-9362
Ann Arbor, MI   49109-2210    "When the going gets tough, the tough reboot."