Loading ...
Sorry, an error occurred while loading the content.

43892Re: Vim got frozen when dealing with long line?

Expand Messages
  • Andrey Lebedev
    Oct 4, 2003
    • 0 Attachment
      On Tue, Sep 30, 2003 at 03:20:41PM +0800, Dasn Cups wrote:
      > On Mon, Sep 29, 2003 at 08:44:58AM -1000, Marc Adler wrote:
      > > > On Sun, Sep 28, 2003 at 08:54:39PM -1000, Marc Adler wrote: [...]
      > > > > > But, that didn't do enough joins. I'm sure that this could be
      > > > > > extended to get the desired results. But for casual typing, my
      > > > > > original suggestion (repeated below) works quite nicely.
      > > > > >
      > > > > > :set tw=99999 gggqG
      > > > > >
      > > > > > And then back again:
      > > > > >
      > > > > > :set tw=78 gggqG
      > > > >
      >
      > I tried these commands, but my Vim got crashed.
      > I opened a file (about 300 lines) and did:
      >
      > :set tw=99999
      > gggqG (I got a real _long_ line after this)
      >
      > then I press the <End> key, and Vim got frozen.
      > I am using Vim 6.1, Linux box.
      > Any idea?

      I've found, that vim works very slow with long lines and syntax
      highlighting enabled. When you do :syntax off, vim works normally...

      --
      Andrey Lebedev aka -.- . -.. -.. . .-.
      Software engineer
      UAB Mikromarketingas (http://micro.lt)
      Homepage: http://micro.lt/~andrey/
      Jabber ID: kedder@...
    • Show all 35 messages in this topic