On 7/11/07, John H. Robinson, IV <[EMAIL PROTECTED]> wrote:
:set tw=70
1GgqG

gq is the command to format lines to the set line length.  So, above,
you're setting textwidth to 70, moving to the top of the file, and
then running this gq command on all lines until the end, 'G'
signifying the end.

gq.

See also - :help formatoptions and :help wrapmargin.

-todd


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to