Formatting Paragraphs with Less-Ragged Right Margins

3 views
Skip to first unread message

Gary Johnson

unread,
May 21, 2022, 6:01:47 PM5/21/22
to vim...@googlegroups.com
Several years ago, someone posted an experimental plugin for
formatting paragraphs that would adjust the lengths of all the lines
so that the right margin would be less ragged than the usual
formatting algorithms produced.

For example, that first paragraph is formatted by Vim with its
normal formatting rules for a 'textwidth' of 68. The protrusion of
the second line looks ugly, though. Reformatting in a way that
makes it prettier, it would look like this, narrower than it could
be but with less variation in line lengths:

----------
Several years ago, someone posted an experimental plugin for
formatting paragraphs that would adjust the lengths of all the
lines so that the right margin would be less ragged than the
usual formatting algorithms produced.
----------

As I recall, the person working on it wrote that they had some more
work to do on it, then just disappeared from the list.

Does anyone remember this and know what happened to that work, or
know of a plugin or an algorithm that would do that?

Thanks,
Gary

Reply all
Reply to author
Forward
0 new messages