https://github.com/noahcoad/open-url
I tried on Mac and Windows -- and it works quite well.
The installation steps are straight forward and well explained -- but I'm just entering the steps here as a note to myself. You'll need GIT client for your OS to follow below step.
For Windows:
- Open Sublime Text
- Press CTRL+`
- Copy and paste (for Sublime Text 2) this (see https://sublime.wbond.net/installation#st2):
import urllib2,os; pf='Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler( ))); open( os.path.join( ipp, pf), 'wb' ).write( urllib2.urlopen( 'http://sublime.wbond.net/' +pf.replace( ' ','%20' )).read()); print( 'Please restart Sublime Text to finish installation')
- Restart Sublime Test
- Select from menu, Preferences -> Browser Packages. This will open a folder -- for my case, it is "C:\Users\kkim\AppData\Roaming\Sublime Text 2\Packages"
- Open cmd in that folder (or move to that directory)
- Run git command (see the above open-url github page):
git clone --branch st2 https://github.com/noahcoad/open-url.git
- Restart Sublime Text.
No comments:
Post a Comment