Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!seismo!hao!csu-cs!silver From: silver@csu-cs.UUCP Newsgroups: net.sources Subject: Re: Joining block of text in vi Message-ID: <2374@csu-cs.UUCP> Date: Mon, 29-Aug-83 00:00:09 EDT Article-I.D.: csu-cs.2374 Posted: Mon Aug 29 00:00:09 1983 Date-Received: Thu, 25-Aug-83 23:42:01 EDT References: tekmdp.2154 Lines: 12 Yes, but the more general (and easier) way to accomplish such tricks in vi is to use ":map" to define otherwise-unused keys (like ^X) to do things, like pass text through outside filters (in your case, paste). For example, my .exrc defines ":map ^X {!}fmt -j^M". I can hit ^X anywhere in a paragraph and get it reformatted quickly. Like this... now watch closely... wasn't that EASY? Down with text compiling, what you see is what you deserve! Alan Silverstein, Hewlett-Packard Fort Collins Systems Division, Colorado ucbvax!hplabs!hpfcla!ajs, 303-226-3800 x3053, N 40 31'31" W 105 00'43"