On Thu, Apr 16, 2009 at 04:31:51PM +0200, Jan Stary wrote: > On Apr 16 09:59:29, Stuart VanZee wrote: > > I've read the man page > > No you haven't: > > wraplen, wl [0] > vi only. Break lines automatically, the specified number of > columns from the left-hand margin. If both the wraplen and > wrapmargin edit options are set, the wrapmargin value is used. > > wrapmargin, wm [0] > vi only. Break lines automatically, the specified number of > columns from the right-hand margin. If both the wraplen and > wrapmargin edit options are set, the wrapmargin value is used.
I don't think that's what he was looking for. He was looking for a toggle for the lines wrapping in the vi display, nothing in the file contents. As I understand it he wanted to see only a part of any lines longer than the display rather than have them wrap so as to appear to be on the lines below.