BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old November 25th, 2003, 12:16 AM
icrf's Avatar
icrf icrf is offline
Perl Monkey
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: May 2003
Location: the far end of town where the Grickle-grass grows
Posts: 1,856 icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 10 h 28 m 31 sec
Reputation Power: 103
Send a message via AIM to icrf
vim color settings

I'm trying to define custom colors for vim's syntax highlighting, but I ran into some behavior I can't explain or work around. There's light and dark varieties of all the available colors and I was trying to make the default text white. When when I do that (or set it to any of the bright colors), none of the dark colors are available, they all become bright (gray excepting). Darkgray still exists, but lightgray becomes white. All the other dark colors just brighten to the light bretheren.

An example in case this isn't making any sense: load up the test color file (/usr/local/share/vim/vim61/syntax/colortest.vim on my system) in vim. Run ":source %" and it should colorize itself. Then set the default color to white ":hi Normal ctermfg=white". See all the color changes? Just set Normal to gray and everything's as it was. If I set normal to anything that doesn't have the dark prefix (barring lightgray, black, and brown, which is really darkyellow), I lose all the dark colors. Since I'm working with a black background, the only disabled color I really want is lightgray, but I don't want it as the default.

Is there something I missed? What else is Normal changing when it's bright? TERM is set to xterm-color right now, but playing with it hasn't had any effect. Light or dark background settings hasn't either. I'm running FreeBSD 4.9 with tcsh.
__________________
Andrew - Perl (and VB.NET) Monkey

Never underestimate the bandwidth of a hatchback full of tapes.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > vim color settings


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway