diff --git a/vimrc b/vimrc index c113c83..35f6092 100644 --- a/vimrc +++ b/vimrc @@ -73,7 +73,7 @@ au FileType python :map :Coveragepy show au FileType python :imap "Map on Latex files -au FileType tex :map :! if [ -f Makefile ]; then; make; else; pdflatex %:t; rm *.aux; rm *.log; fi +au FileType tex :map :! if [ -f Makefile ]; then; make; else; latexmk -auxdir=build -outdir=build -pdf %:t; mv build/%:r.pdf .; fi "Highlight chars after column 80 let s:activatedh=0