tmcw /.vimrc

set nocompatible
syntax enable

function InsertTabWrapper()
        let col = col('.') - 1
                if !col || getline('.')[col - 1] !~ '\k'
                        return "\"
                else
                        return "\"
                endif
endfunction


autocmd VimEnter * set vb t_vb= 
let php_folding=1
let php_sql_query=1
set nocompatible
set autoindent
set showmatch

filetype on
syntax on
set number
set tabstop=2
set shiftwidth=2
set expandtab
colorscheme vividchalk
let Tlist_Ctags_Cmd='/opt/local/bin/ctags'
so $HOME/.vim/filetypes.vim
autocmd BufRead,BufNewFile *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class
autocmd FileType python set tabstop=4|set shiftwidth=4|set expandtab
inoremap  =InsertTabWrapper()


autocmd BufNewFile,BufRead *.html set tabstop=2|set shiftwidth=2|set expandtab

autocmd BufNewFile,BufRead *.php set tabstop=2|set shiftwidth=2|set expandtab
autocmd BufNewFile,BufRead *.module set tabstop=2|set shiftwidth=2|set expandtab
autocmd BufNewFile,BufRead *.inc set tabstop=2|set shiftwidth=2|set expandtab
autocmd BufNewFile,BufRead *.test set tabstop=2|set shiftwidth=2|set expandtab
filetype plugin indent on