2009/3/15 echo_whiskey: > > Does anyone have a suggestion on how to have MacVim retain window > focus after viewing pdf output from LaTeX in Preview? Currently I use > a macro to save, compile the tex document, and display using Preview > [:w \ll \lv], and am quite happy with it, but the one nag I have is > that the window focus then resides with Preview, whereas I'd like to > be able to keep typing in MacVim.
I don't know how to do what you ask for but one idea would be to open your pdf viewer when you begin editing and then only call ":w" and " \ll" in your macro. I guess Preview won't work since it only reads the modified pdf file when it gets focus, but I believe Skim [1] automatically reloads the pdf when it has been modified. Björn [1] http://skim-app.sourceforge.net/ --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
