Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Doesn't open URLs from Apple mail.app #5

jlmaccal opened this Issue Oct 18, 2011 · 2 comments


None yet
2 participants

I'm running into a problem where the Open command isn't getting the correct URL. I think the problem is that the URLs for message links have a % sign in them.

The link should be:


Calling :Open on this tells mail to open:


Mail doesn't know how to open this due to the spurious %25's.


xolox commented Oct 18, 2011

I'm not sure what to make of this. Clearly something is performing a double encode of the URL in question:

  • %3c and %3e stand for < and >
  • %25 stands for %

However the shell plug-in doesn't contain any code to perform URL encoding, which makes sense because why should it? It doesn't generate new URLs, it just follows existing URLs. Anyway I just published a new release with some debugging statements. To see the debugging messages please execute the following Vim command:

:set verbose=1

After this when you press <F6>, one or more messages will be printed to Vim's message buffer. If the messages disappear from the screen you can recall the message history using the following Vim command:


I'm guessing the printed messages will indicate that the shell plug-in is not the one performing the double URL encoding... Of course then we still have to find out where the double URL encoding is happening so that you can properly follow hyper links to e-mail messages (fancy feature by the way, I've considered doing the same but the URLs generated by Mozilla Thunderbird are so god awfully long that I decided against it :-).


xolox commented May 1, 2013

Closing old issues. If this is still relevant please reopen.

@xolox xolox closed this May 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment