Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-04-2008, 07:39 PM   #1
Registered: Apr 2006
Distribution: Fedora
Posts: 478

Rep: Reputation: 30
VIM Syntax Highlighting


This may be a dumb question (I feel a little silly asking it), but how do I customize the syntax highlighting colors for VIM? I looked through the manuals and either its not there, I didn't see it, or I saw it and didn't recognize it.

I am not looking to customize a particular language file, but in general - i.e., change the color of keywords, change the color of quotes, change the color of braces, etc.
Old 03-04-2008, 08:02 PM   #2
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 76
Take a look at $VIMRUNTIME/colors/README.txt.
Old 03-04-2008, 08:42 PM   #3
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
...or, ~/.vimrc
Old 03-05-2008, 05:37 PM   #4
Registered: Apr 2006
Distribution: Fedora
Posts: 478

Original Poster
Rep: Reputation: 30

Originally Posted by osor View Post
Take a look at $VIMRUNTIME/colors/README.txt.
I told you it was a dumb question. I feel pretty stupid right about now.

Hopefully I'll be able to understand the README and change the colors I want. Really, it is just one color that really needs to be changed so that I can see it. Bolded purple on a black background is really hard to read - I think I might change it to orange (bolded or not, I'm not sure yet).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] vim without syntax highlighting lord_didger Debian 5 11-18-2006 02:29 PM
Vim syntax highlighting problem darkwing0o0rama Linux - Software 5 06-27-2006 01:01 PM
vim syntax highlighting MiniMe001 Linux - General 2 06-19-2005 12:08 PM
Adding Syntax Highlighting to VIM TastyWheat Linux - Software 2 02-27-2004 04:37 AM
Vim syntax highlighting NSKL Linux - Software 2 11-09-2002 03:39 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration