On Tue, Mar 13, 2001 at 06:48:25PM -0500, D-Man wrote: > On Tue, Mar 13, 2001 at 11:35:42AM -0800, Steven E. Harris wrote: > | [EMAIL PROTECTED] writes: > | > | > In my case, it is vi. I have a .exrc file in my home directory that > | > has the following contents: > | > > | > set wl=76 > | > | I tried creating such a file, and (n)vi does note that the "wraplen" > | variable is set to 76, but I can still type way past that 76 column > | point. I thought that maybe vi would chop the lines up upon exit, but > > I don't know about nvi, but in vim the "formatoptions" must also be > set properly to wrap the lines. (Also, in vim the variable > "textwidth" must be set, not "wraplen") > > Someone else said to set it to "t", mine is set to "tcq". > > Also, gqip or gqap will rewrap the current paragraph. gqG will > reqwrap from here to the end of the buffer, gq} will rewrap from > here to the end of the current paragraph.
l337 ! :)