vim-latex for MacVim
See http://code.google.com/p/macvim/wiki/FAQ for instructions on how to install vim-latex(or known as latex-suite) on macvim.
However, on my Mac OS X Lion, there seems to be a problem with \lv using the default setting. When commanding \lv a pile of error messages jumped out. The fix I found is the following: go to ftplugin/latex-suite, open texrc, uncomment the line
TexLet g:Tex_TreatMacViewerAsUNIX = 1
and add here or to .vimrc the following:
TexLet g:Tex_ViewRule_pdf = ‘open -a Skim’
I use Skim as my pdf viewer. These two resolve the problem.
分类: Uncategorized