" indent.vim " Defines indentation behavior set softtabstop=4 set shiftwidth=4 set tabstop=4 set expandtab set smarttab set autoindent highlight BadWhitespace ctermbg=red guibg=red set hlsearch " make backspaces more powerfull set backspace=indent,eol,start "js stuff" autocmd FileType javascript setlocal shiftwidth=2 tabstop=2 autocmd FileType python set tabstop=4 softtabstop=4 shiftwidth=4 autocmd FileType python set textwidth=79 expandtab autoindent set fileformat=unix au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/ " "