]> code.delx.au - dotfiles/commitdiff
Vim autocmd for latex files
authorJames Bunton <jamesbunton@delx.net.au>
Fri, 12 Oct 2007 10:02:56 +0000 (20:02 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Fri, 12 Oct 2007 10:02:56 +0000 (20:02 +1000)
.vim/abbrs/latexreport.tex [moved from .vim/abbrs/latex_report.tex with 100% similarity]
.vim/filetypes.vim

index 1e7200db858e8949702de451b3d4b143e1677f9a..aac6dcc49c4edec8e872ff8bff5b33847fec3f9c 100644 (file)
@@ -5,6 +5,7 @@ filetype plugin indent on
 " Pick up some filetypes from their extensions
 autocmd BufNewFile,BufRead *.txt setlocal ft=text
 autocmd BufNewFile,BufRead mutt* setlocal ft=mail
+autocmd BufNewFile,BufRead *.tex setlocal ft=tex
 
 " Set options based on filetypes
 autocmd FileType text setlocal textwidth=78 nosmartindent