Hi, On 29.01.2009, at 01:32, SirVer wrote:
> if I try this on the console > > $ open 'mvim://open?url=file:///etc/profile&line=20' > > a new MacVim opens with an empty buffer '[No Name]'. > > if I do this again on the console: > > $ open 'mvim://open?url=file:///etc/profile&line=20' > > the profile file opens on line 20 as expected. I think there is a bug > lurking here somewhere. Works for me on the first try (was MacVim running but no windows opened, or was MacVim not running at all? I can't close my MacVim right now to try :-P). Does it work if you put the URL in the Safari URL bar? If you just want to open a file with MacVim, you can use `open -a MacVim /etc/profile` (or the mvim script) instead. I didn't know you can open URLs with open, so I didn't test that back then. Nico --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
