[NCLUG] vi word-wrap, please help !

Jim Wildman jim at rossberry.com
Sat Oct 27 17:28:32 MDT 2001


I've never seen vi break words. 
:se wm=8 
will do on word margins.

fmt does a nice job of cleaning up the lines.
:1,$!fmt

Not sure how to keep it all on one line.


On Saturday 27 October 2001 06:07 pm, you wrote:
>
> My question is: Can I tweak vi into keeping long lines intact, displaying
> them wrapped, but wrap them on word boundaries instead of every
> 'screenwidth' characters ?
>
> Thanks much,
>
> Gabriel
>
>  --
> -----------------------------------------------------------------------
>      Gabriel L.  Somlo                   Assistant System Administrator
> Computer Science Department
>  Colorado State University               e-mail: somlo at cs.colostate.edu
>   601 Howes St. 2nd Floor                 phone: +1 (970) 491-5305
>   Fort Collins,  CO 80523
> -----------------------------------------------------------------------
>
> _______________________________________________
> NCLUG mailing list
> NCLUG at nclug.org
> http://www.nclug.org/mailman/listinfo/nclug

-- 
----------------------------------------------------------------------
Jim Wildman                                            jim at rossberry.com
903-736-4393                                 http://www.rossberry.com



More information about the NCLUG mailing list