You are not logged in.

#1 2009-01-16 07:46:26

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

gvim blank screen

I an using gvim with kdemod 4 and using the gtk qt engine, since last update when ever i start gvim it shows a grey empty screen. vim runs fine from the terminal. what could be the issue.

Offline

#2 2009-01-16 08:57:49

mentat
Member
From: France
Registered: 2009-01-13
Posts: 138
Website

Re: gvim blank screen

Hi,

You can fix this in your $HOME/.vimrc file add :

" " Fix Gvim theme
if has('gui_running')
    colorscheme darkblue
endif

Choose the right color theme (here darkblue) for you wink

You can add others specifics options for gvim like

    set guifont=Monospace\ 9    "" font
    set guioptions=m           "" no menu
    set cursorline              "" underline
    highlight CursorLine guibg=black

etc ...

Offline

#3 2009-01-16 09:32:37

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

Re: gvim blank screen

i have <colorscheme desert> in my .gvimrc, I am getting a completely blank screen no menus no buttons nothing.

Offline

#4 2009-01-16 09:37:12

mentat
Member
From: France
Registered: 2009-01-13
Posts: 138
Website

Re: gvim blank screen

Have you try to replace your .vimrc single line :

colorscheme desert

by this 3 lines

if has('gui_running')
    colorscheme desert
endif

Offline

#5 2009-01-16 09:50:39

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

Re: gvim blank screen

I tried replacing the line but still i am getting a blank screen

Offline

#6 2009-01-16 10:03:39

mentat
Member
From: France
Registered: 2009-01-13
Posts: 138
Website

Re: gvim blank screen

Hummmm ...

and if you add :

if has('gui_running')
    colorscheme desert
    set guioptions=m,T
endif

Nothing ?

Sorry I can't help, maybe a qt issue not a vim configuration solution ...

Last edited by mentat (2009-01-16 10:05:10)

Offline

#7 2009-01-16 10:38:01

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

Re: gvim blank screen

till yesterday it was working fine untill I updated my system.

Offline

#8 2009-01-16 10:43:50

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

Re: gvim blank screen

this seems to be an issue with gtk qt engine as when I change the gtk theme to some other theme it starts working proper. Any idea of any solution available?

Offline

#9 2009-01-23 10:31:15

thunderogg
Member
From: Rio de Janeiro
Registered: 2008-07-13
Posts: 172

Re: gvim blank screen

Yeah, I have the same problem.  The update broke it.

Offline

Board footer

Powered by FluxBB