It’s actually very easy. I tried to install SublimeHighlight so that I could export/copy portions my code as a rich text files (RTF - Rich Text Formal) instead of plain text.


  1. Install Package Control by opening up Sublime's consol (View --> Show Console) and paste the following:
        import urllib2,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; 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()) ); by = urllib2.urlopen( '' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')
    Press enter.
  2. Open Package Control under Sublime Text 2 --> Preferences --> Package Control
  3. Select "Package Control: Add Repository"
  4. Copy the github repository link. I used
  5. Open Package Control again
  6. Select "Package Manager: Install Package"
  7. Select corresponding package. In my case it was "SublimeHighlight"
  8. Done! You can now use the package.

SublimeHighlight can be found here

Posted in Developer Tools with Package Manager