Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uiucdcsm!liberte From: liberte@uiucdcsm.cs.uiuc.edu Newsgroups: comp.editors Subject: Re: My vi macros Message-ID: <37200008@uiucdcsm> Date: 8 Jun 88 03:39:00 GMT References: <1362@uokmax.UUCP> Lines: 14 Nf-ID: #R:uokmax.UUCP:1362:uiucdcsm:37200008:000:437 Nf-From: uiucdcsm.cs.uiuc.edu!liberte Jun 7 22:39:00 1988 Below is a macro to break a line at around character 68. I map it to "K" to be analogous to "J" which joins two lines. So I can format a paragraph with a bunch of "J"s followed by a bunch of "K"s. But there are a few deficiencies somebody might be able to fix. It always splits off at least the last word of a line. It doesnt know about tabs. setenv EXINIT 'set ai|map K 068lF r Dan LaLiberte liberte@cs.uiuc.edu uiucdcs!liberte