diff --git a/vimrc b/vimrc index 35f6092..5ebde09 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; latexmk -auxdir=build -outdir=build -pdf %:t; mv build/%:r.pdf .; fi +au FileType tex :map :! if [ -f Makefile ]; then; make; else; latexmk -auxdir=build -outdir=build -pdf %:t; cp build/%:r.pdf .; fi "Highlight chars after column 80 let s:activatedh=0