vi and colors
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.
BTW, sorry about this question being in the wrong group I didn't pay attention to where I was when I posted it. :oops:
Relocated this thread for you. ;)
To change the colors of vim (vi is just 2 tone), edit your ~/.vimrc file. Look for
and either delete it, comment it out, or change it to
Alternately, you can modify the highlighting colors it uses...
Hope this helps.
Cool :D 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.
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)