how to permanently enable syntax highlghting in VIM?

Mr Shunz mrshunz at gmail.com
Thu Oct 18 11:14:59 UTC 2007


On 10/18/07, Gabriel Dragffy <gabe at dragffy.com> wrote:
>
>
> but what is wrong with it, I made the change and now I always get an
> error:
>
> Error detected while processing /usr/share/vim/vimrc:
> line   20:
> E319: Sorry, the command is not available in this version: syntax on
> Press ENTER or type command to continue

Hi, you should install the "vim" package,
ubuntu by default installs vim-tiny which
doesn't support syntax highlighting:

sudo apt-get install vim

that's it!

cheers

-- 
Daniele Santi        .o.
MrShunz at gmail.com    ..o    |,,,/_
Linux User #415108   ooo
---------------------------------------------------------
()  ascii ribbon campaign - against html mail
/\                        - against microsoft attachments
---------------------------------------------------------




More information about the ubuntu-users mailing list