I have Mac OS X Lion, vim 7.3, and latex-suite. With a minimal .tex file I can compile a pdf from within vim using \ll. However I can’t view the pdf with \lv. The FAQ suggests that I check whether or not I can open my pdf viewer from inside vim with
!start Preview
However when I do this I get the message
shell returned 127.
Can anyone help me with this?
You can use
!open -a Previewto open Preview.Here is my settings to make
<leader>lvwork for me:Note that I am using Skim instead of Preview as PDF viewer here. You can simply put:
to view the resulting postscript or PDF file with Preview.