vim Color Highlighting

Since every time I set up a new system I try to remember how to do this… vim supports colored syntax highlighting of myriad programming languages. It’s quite helpful. (Some website I happened across claimed that it increased productivity between 200 and 300%.)

It’s actually much simpler than I thought. Enter :syntax on to enable it. (I bet you can figure out how to disable it.) Or just pop that (sans the :) into your ~/.vimrc file.

Leave a Reply

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