VIM has a lot of various plugins for assiting with code completion, syntax highlighting etc...

There are two plugin systems that I've discovered, and personally I like Pathogen. The other one to checkout would be Vundle

Install VIM

sudo apt-get install vim

Install Pathogen w/ Curl

mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim

Puting it together

Lets edit our ~/.vimrc file, if that's not around opening in vim will do it for ya

vim ~/.vimrc

In the ~/.vimrc put

execute pathogen#infect()
syntax on
filetype plugin indent on

Installing Plugins

If you don't know what plugins might be available you can use google or check out VimAwesome

Plugins will automatically be picked up from ~/.vim/bundle.

So to install a new plugin is as simple as cloning it straight into ~/.vim/bundle

Here we will install a git plugin call Vim-Git and Vim-Fugitive

cd ~/.vim/bundle
git clone git://
git clone git://