Adam Turoff on Tue, 24 Sep 2002 22:43:09 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] vim question


On Mon, Sep 23, 2002 at 10:27:54PM -0400, eric@lucii.org wrote:
> I've searched the vim docs for an answer to this but it has eluded me...
> 
> I use the 'gqip' sequence to reformat paragraphs - currently to 80
> columns.  I'd like it to default to 72 or even 60 in some cases.
> Is there a way to do that in vim? 

:set textwidth 72
:set tw 72

You may also want to set the wrapmargin

:set wrapmargin=8
:set wm=8

Z.

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug