sponsor Vim development Vim logo Vim Book Ad

reformat.vim : Reformat paragraphs according to file type

 script karma  Rating 10/8, Downloaded by 1508  Comments, bugs, improvements  Vim wiki

created by
Jean-Baptiste Quenot
 
script type
utility
 
description
This script defines the common <C-J> key binding to reformat paragraphs, but also takes cares of properly reformatting paragraphs having no blank lines around them, but delimited by specific markup like <p> ... </p>, <para> ... </para>, /* ... */ or any other constructs: it can be easily extended for about any syntax.
 
install details
Source that file from your init file.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
reformat.vim 1.3 2002-07-10 6.0 Jean-Baptiste Quenot Added support for Python and C.
reformat.vim 1.2 2002-07-08 6.0 Jean-Baptiste Quenot Support for HTML paragraphs.
reformat.vim 1.1 2002-07-03 6.0 Jean-Baptiste Quenot Fixed commands quoting.
reformat.vim 1.0 2002-06-28 6.0 Jean-Baptiste Quenot Initial upload
ip used for rating: 3.147.42.168

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github