For some reason Ubuntu 8.04 didn’t install vim by default, thus no syntax.

There’s also another tips I always forgot.  vim has a very nice autocomplete feature.  For example you’ve a variable name “apple”, you can type “ap”, then press Ctrl-n or ctrl-p, it would show all the functions and variables start with “ap”.