Skip to content

Instantly share code, notes, and snippets.

@DoZator
Created March 4, 2014 07:11
Show Gist options
  • Save DoZator/9341664 to your computer and use it in GitHub Desktop.
Save DoZator/9341664 to your computer and use it in GitHub Desktop.
Setup Sublime Text
  1. Set up Sublime to run from the command line. Create a symbolic link for the sublime executable.

     ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
    
  2. Install Package Control.

     import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment