I added this to ~/.vimrc and both problems are
gone:

let g:Tex_ViewRuleComplete_pdf = 'open $*.pdf'

The problem seems to lie in the compiler.vim file.
In particular, the following lines:

                if strlen(s:viewer)
                        let s:viewer = '-a '.s:viewer
                endif
                let execString = 'open '.s:viewer.' $*.'.s:target

Should be changed to:

                let execString = 'open $*.'.s:target



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to