How To Turn Color On and Off in Vim
To turn on syntax in vim just type
:syntax on in the file you are editing. To turn color highlighting off just type
:syntax off inside vim.
To permanently turn syntax color coding on edit/create the .vimrc file.
and ensure the file contains the line
Be sure to check out the available vim addon scripts. There's a ton of them out there, just search and set the 'type' to syntax. If you code in a particular language, try searching for that language specifically.