" file texauto.vim " If you want to define your own TeX autocommands, place them here and put this " file in either $VIM or $HOME. This file will then be sourced by " texmacro.vim. " Group autocommands under the heading "TeX": augroup TeX " autocmd FileType tex " autocmd BufEnter *.tex,*.sty " autocmd BufLeave *.tex,*.sty augroup END