On 25 March 2010 19:10, Peter Palmreuther wrote:
> Am 24.03.10 22:32, schrieb björn:
>> To open some other GUI program you could use (from within MacVim):
>>
>> :!open -a ProgramName filename
>>
>> Maybe that's enough for your needs.  As far as I know there is no
>> universal way on Mac OS X to wait for a GUI app to finish (let alone
>> return focus to the calling program).
>
> I don't know about OS X < 10.6, but over here 'man open' gives
>
> [...]
>     -W  Causes open to wait until the applications it opens
>         (or that were already open) have exited. [...]
>
> And 'open -a MacVim -W file.txt' in fact gives focus to running MacVim
> instance and opens 'file.txt' in a new tab. After quitting MacVim terminal
> (iTerm) prompt returns to 'input state'.

Thanks Peter for pointing that out -- I was not aware of this flag.

Björn

-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

To unsubscribe from this group, send email to 
vim_mac+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to