Results 1 to 5 of 5
Hello,
Simple question here. I've been trying to find out how to turn off or or at least change colors in vi how do I do that? Turn off is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-24-2003 #1Just Joined!
- Join Date
- Sep 2003
- Location
- Laurel, MD
- Posts
- 27
vi and colors
Hello,
Simple question here. I've been trying to find out how to turn off or or at least change colors in vi how do I do that? Turn off is preferable. I have a black background in my terminal window and vi uses alot of dark colors and is difficult to read.
- 09-25-2003 #2Just Joined!
- Join Date
- Sep 2003
- Location
- Laurel, MD
- Posts
- 27
BTW, sorry about this question being in the wrong group I didn't pay attention to where I was when I posted it.
- 09-25-2003 #3Linux User
- Join Date
- Jun 2003
- Location
- Calgary, AB CANADA
- Posts
- 496
Relocated this thread for you.

To change the colors of vim (vi is just 2 tone), edit your ~/.vimrc file. Look forand either delete it, comment it out, or change it toCode::syn on
Alternately, you can modify the highlighting colors it uses...Code::syn off
Hope this helps.
\"Everything should be made as simple as possible, but not simpler.\"
Albert Einstein
- 09-25-2003 #4Just Joined!
- Join Date
- Sep 2003
- Location
- Laurel, MD
- Posts
- 27
Cool
I've been going nuts trying to find that info. I even bought a book on vi. I've read the man pages and couldn't find it there.
Thanks a grunch.
- 06-14-2006 #5
Just found this post whilst looking for a solution,
I couldnt read the comments on a dark background but I like the syntax highting on... there is an alternative colour set for dark backgrounds (Yipiee!!!)
put set background=dark in your ~/.vimrc file (or into vim directly for the session)
Cheers IanRegisterd Linux user #119296


Reply With Quote
