Http://xbeta.info/vim-tutorials.htm
"General settings """"""""""""""""
Set nocompatible
Filetype plugin on
Filetype indent on
Set autoread
Set ruler
Set nu
Set laststatus = 1
"Configure backspace so it acts as it shoshould Act
Set backspace = EOL, start, indent
Set whichwrap + = <,>, H, l
"Search
Set ignorecase
Set smartcase
Set hlsearch
Set incsearch
"For Regular Expressions turn magic on
Set magic
"Don't redraw while executing macros (good performance config)
Set lazyredraw
"Show matching brackets when Text indicator is over them
Set showmatch
"No annoying sound on Errors
"Set noerrorbells
"Set novisualbell
"Set t_vb =
"Set TM = 500
"Colors and Fonts
Syntax on
Filetype on
Colorscheme desert
Set guifont = courier_new: H10
"File type and unicoding
Set encoding = UTF-8
Set fileencodings = ucs-bom, UTF-8, cp936
Set FFS = UNIX, DOS, Mac
"Backup and swap
Set nobackup
Set nowb
Set noswapfile
"Special text and indent """"""""""""""
Set expandtab
Set smarttab
Set tabstop = 4
Set softtabstop = 4
Set shiftwidth = 4
Set backspace = 2
Set autoindent
Set smartindent
Set list
"Windows config """"""""""""""
Autocmd guienter * simalt ~ X
Set guioptions-= T
Set guioptions-= r
Set guioptions-= L
Set GCR = A: block-blinkon0
"Pydiction """""""""""""""""
Let G: pydiction_location = 'd: \ Program Files \ Vim \ vim73 \ ftplugin \ complete-dict'
"Ctags and taglist """""""""""""
Let tlist_show_one_file = 1
Let tlist_exit_onlywindow = 1
Nmap tl: tlisttoggle
"Pathogen """""""""""""""""""""
Call pathogen # infect ()
"Nerdtree """""""""""""""""""""
Let nerdtreehighlightcursorline = 1
Let nerdtreeignore = ['\. PyC $', '\. pyw $']
Map <c-t>: nerdtreetoggle <CR>