Skip to content
txmt://open?url= links in Windows
Pull request Compare This branch is 1 commit behind dolzenko:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Windows Protocol Handlers

All the crazy plumbing code you need to get txmt://open?url=file:////dir/file.rb links working on Windows. Can run GVim, Notepad++, Notepad2, Notepad.

Such links are generated by different debugging related plugins like Rails Footnotes and others.


Register the ruby executable to open protocol_handler.rb to handle protocol txmt, automating procedure described in

> ruby register_protocol_handler.rb txmt RUBY protocol_handler.rb

THe registered protocol uses the same Ruby version used to execute the script above. You may hack protocol_handler.rb to change editor, customize paths, or add logic for other protocols.

Something went wrong with that request. Please try again.