[SLL] vim is slow to launch
Ana
christiana at hipointcoffee.com
Mon Jan 21 17:01:06 PST 2008
On Mon, Jan 21, 2008 at 04:04:39PM -0800, Ryan Allen wrote:
> Hi SSL,
>
> I'm experiencing a strange vim problem. Anytime I launch vim, there
> is a 4 second delay. Very annoying. This is with a mostly stock
> ubuntu 7.10 install. Running with -V1 reveals:
>
> ryan at dorje:~$ /usr/bin/vim.full -V1
> XSMP opening connection -- a few second pause --
>
> XSMP SmcOpenConnection failed: Could not open network socket
> not found in 'runtimepath': "ftdetect/*.vim"
> Opening the X display took 0 msec
> Testing the X display failed
> Opening the X display took 0 msec
> Testing the X display failed
> Reading viminfo file "/home/ryan/.viminfo" infoOpening the X display
> took 3 msecTesting the X display failed
> Press ENTER or type command to continue
>
> I'm sshed into the box remotely, so why is it even trying to test the X
> display? What tells vim to do anything X? I cannot find any config
> files, aliases or google searches about this.
>
> Anybody got any ideas?
check your .vimrc file for something like: "gui-x11-start"
also, try using -D command line switch, for possibly more output. And,
you never know when strace will tell you something useful. maybe try:
strace -f -s 1024 2> /tmp/output /usr/bin/vim.full
and wade through /tmp/output. (be prepared to enter ":q" blind.) I
imagine this isn't much help, but I had some ideas. :)
- Ana
More information about the linux-list
mailing list