Syntax highlight in vim

Although not being addicted to vim I do happen to use it on a regular basis as it is available on virtually all environments I do meaningful work with :). To get it a bit fancier you can add the following to your ~/.vimrc.

vim python coloring

syntax enable
set background=dark
colorscheme solarized 
set tabstop=4 
set shiftwidth=4 
set expandtab

Download and copy corresponding theme like solarized.vim to ~/.vim/colors

:wq

Small update
If you get annoying A/B/C/D characters when pressing arrow buttons either change .vimrc to get

set nocp

or type it in the vim prompt

:set nocp

Enjoy!