Skip to content
πŸ”— The ultimate Sublime Text 3 plugin for opening URIs (URLs) in your file.
Python Shell
Branch: master
Clone or download
jfcherng Update FontAwesome/external-link.svg
Signed-off-by: Jack Cherng <>
Latest commit 361a278 Sep 20, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
bindings Change the default mouse map to Ctrl+Right Click Aug 30, 2019
docs Update screenshot (add underline example) Aug 21, 2019
images Update FontAwesome/external-link.svg Sep 20, 2019
menus Rename plugin from "OpenUriInBrowser" to "OpenUri" Aug 20, 2019
messages Update messages for Package Control Sep 1, 2019
plugin Remove unused imports Sep 4, 2019
scripts Add flake8 checking to CI Sep 4, 2019
stubs Introduce mypy for static analysis Aug 31, 2019
.editorconfig nits Jul 24, 2019
.flake8 Add flake8 checking to CI Sep 4, 2019
.gitattributes Add flake8 checking to CI Sep 4, 2019
.gitignore Introduce mypy for static analysis Aug 31, 2019
.travis.yml Add flake8 checking to CI Sep 4, 2019
LICENSE Update readme and LICENSE Aug 14, 2019
OpenUri.sublime-settings Update settings' comments Aug 25, 2019 Update readme wording Sep 2, 2019 Move main plugin modules to plugin/sublime_text/ Sep 2, 2019
dependencies.json Add and utilize the "typing" module Aug 30, 2019
mypy.ini Ignore 3rd-party libs for mypy Sep 1, 2019
pyproject.toml Introduce mypy for static analysis Aug 31, 2019
requirements.txt Add flake8 checking to CI Sep 4, 2019


Travis (.org) branch Package Control GitHub tag (latest SemVer) Project license GitHub stars

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

The PhantomSet implementation before ST 3209 (not released yet) is buggy. You can fix it by overwriting it with a patched Remember, backup before patching it.

  • On Windows: C:\Program Files\Sublime Text 3\
  • On Linux: /opt/sublime_text/
  • On Mac OSX: /Applications/Sublime



This plugin is available on Package Control by the name of OpenUri.

Note that this plugin only supports ST >= 3118 because of Phantom API.

πŸ’‘ You may also be interested in my other plugins:


To edit settings, go to Preferences Β» Package Settings Β» OpenUri Β» Settings.

I try to make the settings file self-explanatory. But if you still have questions, feel free to open an issue.

Default Bindings

Key Binding

  • Alt + o, Alt + u: Open URIs from (multiple) cursors. o, u is mnemonic for Open, URI.

Mouse Binding

  • Ctrl + Right Click: Open the clicked URI. (open_uri_from_cursors)

You may also add a mouse binding for select_uri_from_cursors. 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.

  1. Go to Preferences Β» Browser Packages....
  2. Create file OpenUri/bindings/Default.sublime-mousemap (and its parent directories if necessary).
  3. Fill Default.sublime-mousemap with []. Then this Default.sublime-mousemap will overwrite this plugin's.


These commands are always available no matter what show_open_button is or how large the file is.

Command Functionality
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
You can’t perform that action at this time.