How to turn on, VIM syntax highlighting

#apt-get install vim-full Once this package in loaded you can turn on the syntax in your vim by using this command ” :syntax enable “. Now your programming experience would become much more hazel free. If you hate writing that command every time you enter vim , then there is even a solution for that as well. go to your terminal and write the commands

vim /etc/vim/vimrc
There you will find some line saying :
    " Vim5 and later versions support syntax highlighting. Uncommenting the next
    " line enables syntax highlighting by default.
    "syntax on
There just remove the double quote( ” ) in the last line(“syntax on) and the syntax will be on by default now onwards in your VIM. Happy Coding]]>