How to enable vim syntax highlighting in Ubuntu
- The source of vi/vim command is vim-tiny package which does not support syntax highlighting. Install vim:
sudo apt-get install vim
- Then open /etc/vim/vimrc and uncomment syntax on
- Replace
"syntax on
With
syntax on
Content Courtesy: http://www.ubuntuguide.org
Content License:http://www.gnu.org/copyleft/fdl.htm
Press the button below if you liked this site.
The brains or the lack of it behind Ubuntu Manual. Crazy about Linux, hates windows except for the fact that it runs many of his favorite games by default. Loves blogging









