Inspired by vim-instant-markdown, though admittedly, not so instant.
- Just runs
pdflatexwhen you write to a
.texfile and opens the resulting PDF.
- Also, when writing to a
.cls, finds all
.texfiles referencing that class and PDF/opens them.
cd ~/.vim/bundle git clone https://github.com/michaelgruber/vim-latex-pdf.git
OR with git submodules:
git submodule add https://github.com/michaelgruber/vim-latex-pdf.git ./.vim/bundle/vim-latex-pdf
- Needs access to the
pdflatexcommand. 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