Re: turn off wrapping in vim?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: Main PLUG discussion list
Subject: Re: turn off wrapping in vim?
On Wed, 18 Jul 2007, Matt Graham wrote:

> On Wednesday 18 July 2007 15:25, after a long battle with technology,
> Jeremy C. Reed wrote:
> > VIM - Vi IMproved 7.0
> > I don't want my lines automatically wrapped. I don't want it to
> > scroll on long lines.
> > :set nowrap
> > :set sidescroll=0
> >
> > But once I started appending text to a long line, it wraps my
> > content.
>
> Do you mean "vim chops the line in 2 at the last whitespace char, once
> you've typed more than N chars on the line"?


Yes.

> If so, ":se tw=0" ? In
> general, you set tw (textwidth) to something like 72 for editing normal
> text files, and 0 for things with insanely long lines. BTDT, which is
> why my .vimrc on one machine had se tw=0 in it.


I tried that and that doesn't help me either. This is on Ubuntu edgy (I
hate using names instead of versions).

Once I append to the long line the entire long line is split into many
shorter lines -- breaking my database and I join back together with
repeated "J" to join.

Jeremy C. Reed
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss