I have TextMate running on Mac, and it has txmt protocol, that I can use as on web browser such as txmt://open/?url=file:///Users/smcho/smcho/bin/rst2html
. I can use TextMate for editing rst2html.
However, when I tried to use this protocol with Org-mode as [txmt://open/?url=file:///Users/smcho/smcho/bin/rst2html]
, instead of opening TextMate, the rst2html binary is running.
I tried
(setq org-link-abbrev-alist
'(
("edit" . "txmt://open/?url=file://%s")
))
to use [edit:/Users/smcho/smcho/bin/rst2html]
, but I get the same result.
How can I use specific protocol (in my case : txmt) with Org mode?
ADDED
It's not using protocol, but one can run open and edit some file with this command.
("edit" . "shell:/usr/local/bin/mate %s")