set list set expandtab set tabstop=4 set shiftwidth=4 set cindent set smartindent set autoindent set wrap autocmd filetype tex set wrap autocmd FileType make setlocal noexpandtab