On Fri, Oct 18, 2019 at 03:39:41PM BST, cho...@jtan.com wrote: > Raf Czlonka writes: > > On Fri, Oct 18, 2019 at 03:12:37PM BST, cho...@jtan.com wrote: > > Is this what you had in mind? > > > > set editor="EXINIT='set wraplen=72' /usr/bin/vi"
I forgot to mention - this is the line in my muttrc(5). > I'm not sure that I'm happy with it doing it mid-insert. I'd prefer an > explicit action or insert mode itself being adapted so that it includes > a final reformat (ie. when I press escape (if the appropriate flag is > enabled)). Then I clearly misunderstood what you meant. > Also it has the fault that if, say, the 4th character of a word causes a > line break, then reducing that word to less than 4 characters doesn't > remove it (although the newline can be deleted as though it were > inserted as usual, which is good). > > Matthew > As others have already mentioned - fmt(1) from base... or par(1) from ports. Regards, Raf