>
> Of course the par tool can do all sorts of clever things, but if
> all you want is wrapping and perhaps a little more, the Vim
> commands are good. To format the current paragraph type:
> gqip
>
> gq is format, ip is inner paragraph.
>
Also, gw will do the format and restore the cursor at the end.
Additionally, you can get the best of both worlds using gq with a
custom 'formatexpr' or 'formatprg', which you could set to invoke par.
Sadly gw will not use formatexpr or formatprg. See the :help entry for
each topic for details.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment