Tuesday, July 28, 2009

Enable syntax higlighting for Vim in Ubuntu

Ubuntu comes with a minimal Vim installation known as tiny Vim. This doesn't have features like syntax highlighting and GUI. Tiny Vim is more compatible with Vi because most of the features that Vim adds to Vi are not there. So people looking for standard Vi may like it but I like to have syntax higlighting and to use arrow keys to move in the document rather than ctrl key. So if you want these features you will need to install complete Vim. You can do that using the following command:
sudo apt-get install vim-full
if at some point you want to turn highlighting off, issue following command from inside vim:
:syn off
to turn it back on you can use:
:syn on
Good luck

2 comments:

Angel Claudia said...

We do not impose exorbitant prices on our Online Essay Editor as well a comprehensive policy where we attempt to accommodate almost every budget.our Nursing Paper Writing Service are prompt in completing custom papers.

Unknown said...

Very nice blog post, it is informative and i subscribed this blog for all its future post. there are some useful links, i think i must share here
How To Open & Edit .Pages Files On Windows