SublimeText on Ubuntu with PrettyPrinting

I’ve fallen in love with Sublime Text Editor, in particular the ability to do HTML and Python formatting, and it also works on my MAC (dev @ home) as well as my Ubuntu machines.

Code/info taken from here:
http://askubuntu.com/questions/172698/how-do-i-install-sublime-text-2-3


sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

To start it, I simply type
subl and it will launch

Now to get the pretty print enabled, I followed these instructions

Note: I already had node.js installed, and also had symlinked the /usr/bin/node with /usr/bin/nodejs

First I needed to install the sublime package manager, using info from:
https://packagecontrol.io/installation#st2

I had to paste

import urllib2,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; 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( 'http://packagecontrol.io/' + 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')

into the console window, which is accessed by hitting ctrl ` (backtick), and then restarting sublime

Once I had restarted sublime, I followed the instructions from
https://github.com/victorporof/Sublime-HTMLPrettify

Ctrl+Shift+P or Cmd+Shift+P in Linux/Windows/OS X
type install, select Package Control: Install Package
type prettify, select HTML-CSS-JS Prettify