Wednesday, July 29, 2009

Enable Vim syntax highlighting on Ubuntu 8.04

Ubuntu 8.04 by default include vim-tiny only that did not support syntax highlighting, so we need install "vim".
sudo apt-get install vim
Open file /etc/vim/vimrc and uncomment line
syntax on
or create file .vimrc on our home directory.
 echo 'syntax on' >> ~/.vimrc 

No comments: