2009/1/30 Holger Rapp:
>
> MacVim was open. But I can reproduce it now in this way
> - Close MacVIM (cmd+q)
> - enter mvim://open?url=file:///etc/profile&line=20 in a newly opened safari
> window
> - a new MacVim window opens without any file opened (Bild1.png)
> - pressing enter again in the safari location text entry
> - in the MacVim Window, /etc/profile is opened (Bild2.png)
>
> I can also use open on the cmdline, it doesn't change a thing.
>
> 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.
>
> Year, I know. I want to write a script that takes TODOs from my code and
> enters them into OmniFocus so
> I do not have to keep track of them manually. I want to add a link to the
> notebox which directly takes the use to the
> file in macvim, therefore i need the line= option.

I'll look into this bug, but can't you just use the command line
parameter "+num" instead?  For example:

mvim /etc/profile +20

Ok, so this only works with the 'mvim' script installed, and perhaps
that was your reason for using the "mvim://" handler instead?

Björn

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to