You are not logged in.

#1 2009-04-17 16:22:14

Trivia89
Member
From: Naples, IT
Registered: 2009-03-19
Posts: 6

KDE overrides gvim color scheme

hi smile
i've correctly configured gvim to use a color scheme (created .vimrc and .vim directory and simlinkeg .gvimrc to .vimrc, a link named .gvim to .vim directory was auto-created).
When launching gvim from the console all's fine, but when launching it from kde menu or opening a file from dolphin, all the settings are applied except for the color scheme.
I hope someone can help me smile

Offline

#2 2009-04-17 16:23:25

ShadowKyogre
Member
From: Hell! XP No... I'm not telling
Registered: 2008-12-19
Posts: 476
Website

Re: KDE overrides gvim color scheme

Do you have "apply KDE colors to non-KDE applications" checked?


For every problem, there is a solution that is:
Clean
Simple and most of all...wrong!
Github page

Offline

#3 2009-04-17 16:55:15

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: KDE overrides gvim color scheme

ShadowKyogre wrote:

Do you have "apply KDE colors to non-KDE applications" checked?

i believe that's checked by default.

Offline

#4 2009-04-17 19:06:23

Trivia89
Member
From: Naples, IT
Registered: 2009-03-19
Posts: 6

Re: KDE overrides gvim color scheme

I's on, but it makes no difference even turning it down hmm

Offline

#5 2009-04-17 19:14:35

bwalk
Member
Registered: 2007-03-21
Posts: 177

Re: KDE overrides gvim color scheme

Look into /etc/gvimrc. There are some stupid defaults set.

Offline

#6 2009-04-18 16:02:02

Trivia89
Member
From: Naples, IT
Registered: 2009-03-19
Posts: 6

Re: KDE overrides gvim color scheme

bwalk wrote:

Look into /etc/gvimrc. There are some stupid defaults set.

There isn't a .gvimrc in /etc.
I also tried creating it (and .vimrc) and linking them to the one in my home, but it didn't work.

Offline

#7 2009-04-18 22:09:33

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: KDE overrides gvim color scheme

Trivia89 wrote:
bwalk wrote:

Look into /etc/gvimrc. There are some stupid defaults set.

There isn't a .gvimrc in /etc.
I also tried creating it (and .vimrc) and linking them to the one in my home, but it didn't work.

The config files are not hidden in /etc. Thus it is not /etc/.gvimrc but /etc/gvimrc.
This file should be there, it was installed by the gvim package.

By the way, from where do you load your color scheme, global (/usr/share/vim/colors) or local (./vim/colors)? It appears that KDE messes up the environment when starting an application from the menu.
(I can't check this now as I'm using IceWM currently.)


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB