[lug] Wrapping lines of text in VIM

Bill Thoen bthoen at gisnet.com
Thu Sep 16 17:44:00 MDT 2004


On Thu, 16 Sep 2004, David Morris wrote:

>     :set textwidth=65
>     gg
>     gqG
> 
> The 'gq' command will auto-format the text in over the range
> specified (in this case, from the current position to the
> end of the file).

Ah! Just what I needed!

Thanks for the help everyone, and also for the tip on fmt. That's another 
tool I should look into as well. It seems to me that if there's something 
you can do with plain text, there's a UNIX/Linux tool that can do it!

- Bill Thoen




More information about the LUG mailing list