Here it is! Put it in your home directory and name it “.vimrc” and it will save you some grief.
" Kelvin's handy VIM config file
"
" Use spaces instead of tabs
set tabstop=4
set shiftwidth=4
" Use shiftwidth setting when at beginning of file
set smarttab
" When I press TAB actually insert spaces
set expandtab
" Fix backspace to delete the spaces youre using
set softtabstop=4
" Autoindenting makes life easier for Python programmers
set autoindent
" Some syntax coloring
syntax on
" Set line numbering so you know where you are
set number
set ruler
" Add another tab to the next line after the colon
im :<CR> :<CR><TAB>