[tpm] reflowing comments in vim

Liam R E Quin liam at holoweb.net
Thu Dec 8 21:38:41 PST 2011


On Thu, 2011-12-08 at 12:08 -0500, Olaf Alders wrote:
> Hi Folks,
> 
> I'm a bit clueless when it comes to vim.  Given comments in code which look like this:
> 
> # blah
> # blah blah blah blah
> # blah

On a Unix or Linux system you can also use "par" (if it's installed) to
reflow a paragraph intelligently; it knows about repeated characters at
the start of each line.

!}par
will filter from here to the next blank line;
!Lpar
will go from here to the bottom of the screen
and so on and so forth.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/



More information about the toronto-pm mailing list