How to improve vim in Debian and Ubuntu, (Sintax coloring)
A lot of us use vim for editing almost anything from .html files, to .c files and also conf files.
And if some of you have also used some other editors, like screem for html files may have noticed, that vim has no color for the syntax, which is really useful when you are programming or editing .conf files, so how to enable that in our Debian or Ubuntu boxes?
Well for Debian Etch.
Edit the file:
/etc/vim/vimrc
or your own vimrc file at:
$HOME/.vimrc
and look for this lines.
" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
" syntax on
and uncomment the last one, so you should have it like this.
" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
syntax on
that is all,
For Ubuntu do this:
sudo apt-get install vim-full
and then proceed like the Debian case.
now enjoy your improved old vi / vim.
you can also read this interesting article,
Trackback URL for this post:
If you like this article, subscribe to our full rss
Please post your question in our forum and use comments only to leave your comments about the article, thanks.













Good Job!!! It was very
Good Job!!!
It was very useful !!
Thanks,
Shameer
Thank you! Very
Thank you!
Very helpful!
/Hajo
thanks a lot! :D
thanks a lot! :D
Post new comment