Thursday, December 1, 2011

Re: Delay on opening new file

On 12/01/11 10:15, Alireza Haghdoost wrote:
> More updates about problem: vim command without mentioning any file in
> command line takes that much time to open. However, by pressing Ctrl+c
> it opens immediately...

My first guess is that there's something massive stashed in your
viminfo file. You can try renaming your viminfo so that Vim
doesn't find it. If that speeds things up, then you can try
hand-editing the viminfo so that the big stuff is removed.

Alternatively, you might be loading some script that is causing
trouble. Including the output of

:scriptnames

might help track down a rogue plugin.

Other possibilities include Vim attempting to connect to X which
you can try by launching Vim with the -X command parameter.

Lastly, if you're pulling down some file (content, script, syntax
file, etc) over a slow (low-bandwidth or high-latency) network
link, it might stall out indefinitely.

-tim

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment