Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xdefaults and vim color schemes
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
neilhwatson
l33t
l33t


Joined: 06 Feb 2003
Posts: 719
Location: Canada

PostPosted: Wed Sep 22, 2004 2:01 pm    Post subject: Xdefaults and vim color schemes Reply with quote

I have a question about colour schemes. I've beem modifiing a vim colour file that I downloaded. My goal is to have the colours in vim and gvim the same. As part of this procedure I defined all of the colors in my Xdefaults file. I've run into some problems. Consider these sample lines:

.Xdefaults
xterm*color4: mediumaquamarine

.vim/colors/neilwatson.vim
hi Comment ctermfg=4 cterm=italic term=italic gui=italic guifg=mediumaquamarine

In gvim that works fine. In vim comments come out unexpectedly (highlighted in gray). My color file is called from .vimrc. What have I missed?
_________________
The true guru is a teacher.
Neil Watson
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Wed Sep 22, 2004 2:24 pm    Post subject: Reply with quote

Get yourself a terminal which supports 88 colours properly, then you won't have any problems :) Failing that, try :set background=dark.
Back to top
View user's profile Send private message
neilhwatson
l33t
l33t


Joined: 06 Feb 2003
Posts: 719
Location: Canada

PostPosted: Wed Sep 22, 2004 2:35 pm    Post subject: Reply with quote

set background=dark is in the color scheme file.

I am using xterm that comes with XFree86. I believe that does support 88 colours.
_________________
The true guru is a teacher.
Neil Watson
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum