Wednesday, November 23, 2011

Re: gvim doesn't start from desktop icons or unity launcher but from shell

On 23/11/11 08:28, punknroll wrote:
> I found out that the error exists in the .vimrc file. when i rename it
> gvim starts again.
>
> https://github.com/spf13/spf13-vim/blob/master/.vimrc
>
> what can prevent the gui from starting here?

Hard to tell by eyeball alone; experimenting is your friend.

Now that you know that the error happens with a vimrc and not without
it, first try starting Vim as

gvim -u NORC -N

If that alone is enough to prevent the GUI from starting (it shouldn't),
the 'nocompatible' setting makes a difference.

Otherwise, start commenting (by if 0 ... endif) about half of your
vimrc, not straddling the boundary of another if- while- for- function-
or try-range (i.e. none of these or similar multiline statements should
be partly instide the :if 0 and partly outside it). Then comment or
uncomment smaller and smaller parts until you have (hopefully) narrowed
down the problem zone to just one line.


Best regards,
Tony.
--
Alexander Graham Bell is alive and well in New York, and still waiting
for a dial tone.

--
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