Adding color to vim editor backported version

By | February 4, 2011
The process of adding color to your vim editor is pretty straight. However, you might face some problem if you have backported version of kernel running, or if you have outdated version of vim. In the first case, I assume that you have correct version of vim and procced with the steps that will get you colors for your vim editor.

STEP1: Find the “vimrc” file in your system. Typically, in debian machine it should be at “/etc/vim/vimrc”
STEP2: Edit it, and check for the line that says “syntax on”. Uncomment it, and save the file. If you can save the file successfully, then the color in your vim editor should work fine from now on. Continue to read if u have problem in this step.
STEP3: I upgraded my home linux version to backported version and I started to face this problem. If you have a problem like this then you should propably install vim again. Note that this problem can also occur because of partial installation of VIM. The reinstallation might just work for you too.
aptitude install vim
Once the installation is done, you can continue step 1 and step 2 to get things on track. You should now see your vim editor in colors if you work on bash, perl or other scripts.
Hope this small howto helped. Let me know if you still have any problems.

If you like this article, then please consider sharing it. Sharing really inspires us to do things much better!!

One thought on “Adding color to vim editor backported version

Leave a Reply

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