[Bug 934591] Re: vim hangs when loading/scrolling attached file

David Hoeffer d.hoeffer at gmail.com
Mon Feb 20 10:55:16 UTC 2012


It's caused by the syntax highlighting, which uses regular expression
and slows down to a crawl on long lines. Do ":syntax off" and you'll be
able to work fine. Alternatively you can limit syntax highlighting to
the fist n columns by doing for example "set synmaxcol=120".

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/934591

Title:
  vim hangs when loading/scrolling attached file

Status in Vi IMproved:
  New
Status in “vim” package in Ubuntu:
  Confirmed

Bug description:
  When the attached file is loaded in vim it lags massively and uses 100% of one cpu. Tested on two computers, maverick and oneiric. The maverick instance of vim is untouched/as installed.
  Something to do with really long lines/wrapping?

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: vim 2:7.3.154+hg~74503f6ee649-2ubuntu3
  ProcVersionSignature: Ubuntu 3.0.0-16.29-generic-pae 3.0.20
  Uname: Linux 3.0.0-16-generic-pae i686
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  Date: Fri Feb 17 23:48:53 2012
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
  SourcePackage: vim
  UpgradeStatus: Upgraded to oneiric on 2011-09-22 (148 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/vim/+bug/934591/+subscriptions




More information about the foundations-bugs mailing list