diff --git a/vimrc b/vimrc index 7cc08d6..0fa9714 100644 --- a/vimrc +++ b/vimrc @@ -12,6 +12,7 @@ if exists("*vundle#begin") Plugin 'gmarik/Vundle.vim' "Other plugins + Plugin 'wting/rust.vim' Plugin 'tomtom/tlib_vim' Plugin 'MarcWeber/vim-addon-mw-utils' Plugin 'garbas/vim-snipmate' @@ -62,4 +63,4 @@ au FileType python :map :Coveragepy show au FileType python :imap "Map on Latex files -au FileType tex :map :! pdflatex %:t; rm *.aux; rm *.log +au FileType tex :map :! if [ -f Makefile ]; then; make; else; pdflatex %:t; rm *.aux; rm *.log; fi