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.
Steps:
Install Package Control by opening up Sublime's consol (View --> Show Console) and paste the following:
importurllib2,os,hashlib;h='eb2297e1a458f27d836c04bb0cbaf282'+'d0e7a3098092775ccb37ca9d6b2e4b7d';pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp)ifnotos.path.exists(ipp)elseNone;urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler()));by=urllib2.urlopen('http://packagecontrol.io/'+pf.replace('','%20')).read();dh=hashlib.sha256(by).hexdigest();open(os.path.join(ipp,pf),'wb').write(by)ifdh==helseNone;print('Error validating download (got %s instead of %s), please try manual install'%(dh,h)ifdh!=helse'Please restart Sublime Text to finish installation')
Press enter.
Open Package Control under Sublime Text 2 --> Preferences --> Package Control
Select "Package Control: Add Repository"
Copy the github repository link. I used https://github.com/n1k0/SublimeHighlight/tree/python3
Open Package Control again
Select "Package Manager: Install Package"
Select corresponding package. In my case it was "SublimeHighlight"