> I don't know what i did, but all of a sudden gvim slows down when I
> start it or stop it. How can I find out what is happening?
A couple culprits often come to mind when there's new slowness
starting up or shutting down. My first candidate is your viminfo
file which preserves your registers. If you have copied/deleted
some large content into a register, it may get preserved in your
viminfo file (taking a long time to read/write on
startup/shutdown). You might try moving your viminfo file to a
place Vim won't find it on startup and see if that solves the
problem. If it's *only* startup/shutdown, this is my best bet.
If this is the case and you want to preserve the rest of your
viminfo, you should be able to open your viminfo file and see
which register is full-o-content and just delete it. Make sure
to delete it into the null-register so it doesn't end up back in
the viminfo file :) (":help quote_")
Additionally, vim sometimes has slowness when doing syntax
highlighting on long lines. I think recent versions have gotten
better about this, and the LargeFile.vim plugin helps cut back on
some of the issues. I find this the case most often with
single-line XML files. Turning off syntax highlighting or
putting each close-tag on its own line solves it for me. I think
there was a new setting added that allows you finer-grained
control over horizontal sync windows.
> The only changement to the configuration files was that I started to
> edit abc music files, and as abc notation does only accept 8bit input, I
> put into startup
[snip encoding autocmds]
> Well, I commented that out, no change.
Well, if it's commented out and doesn't solve the problem, I
suspect that's a red-herring :)
> What I need as help is a method how to proceed to find where the flaw
> is.
If neither of the above work, then check to see if it happens
when vim is started with no configuration files:
vim -u NONE file1.abc file2.abc
Viminfo is my primary suspect, so if none of the above get you
closer, drop a line to the list and we'll work to diagnose further.
-tim
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---