Q. I am using vim under Ubuntu Linux and whenever I type following command:

syntax on

I’m getting an error which read as follows:

E319Sorrythe command is not available in this versionsyntax on

How do I fix this problem?

A. Vim is a text editor that is upwards compatible to Vi. It can be used to edit all kinds of plain text. It is especially useful for editing programs.

There are a lot of enhancements above Vi: multi level undo, multi windows and buffers, syntax highlighting, command line editing, filename completion, on-line help, visual selection, etc

Ubuntu Linux comes with tiny version of vim.

All you need to do is installed full vim version by typing following command:

sudo apt-get install vim

You can add syntax on command to ~/.vimrc file