Run PDFLatex From Vim

To save and run pdflatex on the current document, add the following line to your ~/.vimrc :

" Latex :
command Tex w | exe "silent! !pdflatex --shell-escape %" | redraw!

Invoke it with :Tex.