How can I make rails_footnotes open files using Sublime Text 2?

蹲街弑〆低调 提交于 2019-12-02 21:23:43
Taavo

subl-handler works by interpreting txmt urls, and forwarding them to Sublime. If you, like me, have TextMate or any other application currently responding to txmt, then subl-handler will never run, and won't be able to help you. If that's the case, you need a utility like RCDefaultApp to change the default handler for txmt urls from TextMate (or whatever it currently is) to subl-handler.

So, the full instructions (per here) are:

  1. Github repo for subl-handler project Install & configure subl-handler
  2. Install RCDefaultApp
  3. Open the RCDefaultApp preference pane, and tell it to use subl-handler (not Sublime) for txmt URLs.

Sublime Text 2 doesn't have a protocol handler. However, you can map textmate's txmt to Sublime Text using this app: https://github.com/hiddenbek/subl-handler

There is also a Sublime Text plugin that adds a sblm: url handler (Windows-only): https://bitbucket.org/sublimator/sublimeprotocol/src/

You should be able to register a custom protocol handler in chrome by following this link

http://updates.html5rocks.com/2011/06/Registering-a-custom-protocol-handler

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!