Runs pdflatex on file write
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Inspired by vim-instant-markdown, though admittedly, not so instant.

  • Just runs pdflatex when you write to a .tex file and opens the resulting PDF.
  • Also, when writing to a .cls, finds all .tex files referencing that class and PDF/opens them.


Using Pathogen

cd ~/.vim/bundle
git clone

OR with git submodules:

git submodule add ./.vim/bundle/vim-latex-pdf


  • Needs access to the pdflatex command. For Mac users, you can get this by installing the MacTeX package.


  • I've only tested this with Vim 7.4a and Bash 3.2.48 on OS X 10.8.
  • Will open the PDFs using the system default reader.
  • It seems Adobe Reader needs to be closed in order to see the changes made.
  • I use Chrome, but it opens a new tab for each save, which is annoying.


Copyright © 2013 Michael Gruber

Distributed under the same terms as Vim. See :help license.