Upgrade to Kubuntu Karmic (9.10) from 8.04 – Part 5 – Fixing Vim

One problem I had with the change over to 9.10 was that when i started to edit a file, the highlighting of syntax was very bad and I could not see what was there. Yellow on a black background is not that god, so I started to switch over to white on black as my console colours. But I don’t like that. I prefers black on white.

So after some googeling I found what was the problem. And its that vim guesses what colour schema you have and it guesses wrong.

Fix this my adding this line to you .vimrc file in you home directory.

This will make the syntax highlighting right for viewing on a light background.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.