|
|
|
|
par, the Paragraph Formatterpar is an extremely well-written and intelligent paragraph formatter that almost no one knows about. It makes it easy to write enviably well-formatted plain text e-mails and is also helpful with source code. Some ways in which par surpasses other paragraph formatters:
Getting parpar compiles under just about any Unix. You can read more about it or get it here: Using par in vimTo filter part of a file through par using vim, first select the lines you wish to filter (type V to begin linewise selection mode). Then, while the lines are selected, type: :!par (That assumes that par is installed in a directory in your $PATH.) Vim will expand the above to :'<,'>!par, which is the command you actually want to execute -- '< and '> are markers that represent the first and last lines currently selected. |