~ jackyyll /.vimrc

My .vimrc ... Pretty basic settings.
set nocompatible
set backspace=indent,eol,start  " Make the backspace key work with Mac OS X
set mouse=a                     " Turn on mouse

syntax on                       " Turn on syntax highlighting
set number                      " Turn line numbers on
set showcmd                     " Show partial command in the status bar
set ruler                       " Turn on the line number and column number in the status bar
set visualbell                  " Use visual bell instead of beeping
set background=dark             " Set the background to dark

set hlsearch                    " Turn on search highlighting
set incsearch                   " Turn on incrimental searching, to search for the pattern as it is being typed

set smartindent                 " Turn on smart indenting
set autoindent                  " Turn on auto indenting
set tabstop=4                   " Set tabstop to 4
set shiftwidth=4                " Set shiftwidth to 4
set smarttab                    " Turn on smarttab
set expandtab                   " Turn on expandtab to convert tabs to spaces

set undolevels=1000             " Remember 1000 previous changes to undo
set history=100                 " Remember 100 commands in history
set backup                      " Backup files on write .. Default backs up to ~/tmp

                                " Make arrow keys work in iTerm
map <Esc>[A <Up>
map! <Esc>[A <Up>
map <Esc>[D <Left>
map! <Esc>[D <Left>
map <Esc>[C <Right>
map! <Esc>[C <Right>
map <Esc>[B <Down>
map! <Esc>[B <Down>

                                " vimshell hotkeys
nmap <C-W>e :new \| vimshell<CR>
nmap <C-W>E :vnew \| vimshell<CR>