Ubuntu, Vim and syntax highlighting
Filed Under (Linux) by cranst on 02-11-2005
In Ubuntu and many of the latest distros, syntax highlighting in Vim (Vi improved) is off by default. To enable syntax highlighting, edit /etc/vim/vimrc. In here you’ll find this line: " syntax on. Just remove the quote at the beginning of this line and save. That’s it!!
Because this was off by default, I thought I was running plain Vi, but I was wrong. Vim is pretty much the standard these days. Anyway… happy highlighting.
