I am a linux user who is about to switch to Mac OS, and I am getting
preliminary informations. Being an intensive Vim user, I find this
project extremely interesting. Has anybody ever used MacVim with the
Vim-LaTeX suite? If yes, is direct/inverse pdf search possible? Does
MacVim prefer any pdf viewer?
Thanks for the package, it seems to be a great idea.
Daniele
http://vim.wikia.com/wiki/Backward_search_for_latex_documents_on_Mac_os_x
Cheers, Michael
on the tip you link, it is written
" Sadly, the current version of Vim for Mac doesn't support
clientserver feature of the standard version, so I could not use the --
remote flag to send the command to vim."
And maybe (I am just guessing here) having this flag available would
make life easier. Secondly, among the MacVim features I have read that
it support
"Client/server (+clientserver): use the --remote switch and friends to
open files; script the server with remote_send() et al."
My suspect was that integration with some pdf viewers has been made
available by MacVim develpers.
Is that hack useless if I will be using MacVim?
Thanks.
Daniele
On Sep 29, 1:02 pm, "Michael Dunn" <misha.d...@gmail.com> wrote:
> I haven't used it myself, but there's a tip (up for review) which
> discusses this:
>
> http://vim.wikia.com/wiki/Backward_search_for_latex_documents_on_Mac_...
>
> Cheers, Michael
If you haven't heard yet, MacVim is a great gui for Vim on the Mac.
While it is still in beta, I find the app to be very stable. Bjorn
and others are working hard and releasing new snapshots every week or
so. Check it out and see if it meets your needs with vim-latex.
Jeremy
Hi Daniele,
I've actually just got this (inverse searching) working myself with
latex-suite and MacVim. I used Skim [1] for the pdf viewer as Acrobat
and the built in Preview application don't support pdfsync.
First of all install the latest MacVim snapshot [2], and latex-suite
[3] if you haven't already. Then in your .vimrc tell latex-suite to
use Skim to view the pdf by adding the following:
let g:Tex_ViewRule_pdf = '/Applications/Skim.app'
Then in Skim you need to tell it to use MacVim for the text editor by
going to the "Sync" tab in the preferences and choosing the "Custom"
preset and use:
Command: mvim
Arguments: -c ":RemoteOpen +%line %file"
Now if you use Shift+Command+Click somewhere in the pdf it should open
MacVim at the correct place :)
Notes: I'm using pdflatex to generate the pdf, and I've got
\usepackage{pdfsync} in my latex code. Oh and when I installed MacVim
i put the mvim script into /usr/local/bin which is in my PATH.
I hope that helps, good luck,
Ian
[1]: http://skim-app.sourceforge.net/