Finally! A performant and highly customizable URI-opening plugin comes.
OpenUri is a Sublime Text 3 plugin which provides an easy access to URIs (mostly URLs)
in a file by clicking on a phantom, the popup or key/mouse bindings.
Bug fix for
PhantomSet implementation before ST 3209 (not released yet) is buggy.
You can fix it by overwriting it with a patched sublime.py.
sublime.py before patching it.
- On Windows:
C:\Program Files\Sublime Text 3\sublime.py
- On Linux:
- On Mac OSX:
This plugin is available on Package Control by the name of OpenUri.
Note that this plugin only supports ST >= 3118 because of Phantom API.
To edit settings, go to
Package Settings »
I try to make the settings file self-explanatory. But if you still have questions, feel free to open an issue.
- Alt + o, Alt + u:
Open URIs from (multiple) cursors.
o, uis mnemonic for
- Ctrl + Right Click: Open the clicked URI. (
You may also add a mouse binding for
There are just too few modifier keys to be chosen so I am not adding a default one for it.
How to disable default bindings?
If you do not want those default key/mouse bindings, you can use an empty one to overwrite them. Or if you want to change them, you can use a non-empty one.
Here I take the default mouse binding as an example.
- Go to
- Create file
OpenUri/bindings/Default.sublime-mousemap(and its parent directories if necessary).
. Then this
Default.sublime-mousemapwill overwrite this plugin's.
These commands are always available no matter what
show_open_button is or how large the file is.
|open_uri_from_cursors||Open URIs from cursors|
|open_uri_from_view||Open URIs from the current view|
|select_uri_from_cursors||Select URIs from cursors|
|select_uri_from_view||Select URIs from the current view|