next up previous contents
Next: APPENDIX: Quick reference. Up: Advanced vi Applications Previous: Learning Sequences

Formatting text

When editing documents or plain text, a simple line formatting of too short or uneavenly splitted lines is usually required. eve has a built-in fill command that operates on the currently set line length. vi has the built-in J command that joins the current lines to one or n following lines, without splitting.
For more effective text formatting use the fmt filter or any similar program.
The syntax for a paragraph is:


!}fmt -80 reformat lines by word units over 80 columns




Marisa Luvisetto
2000-12-20