I wanted to install my fav text editor Sublime Text 2 on Ubuntu 12.04, I followed the same steps described here:

http://www.technoreply.com/how-to-in...u-12-04-unity/

It worked but I'm having an issue. Sublime is not the default text editor so my plan text, data, .cpp files still open with gedit.

So, I'd like to undo all the steps that I made, and remove sublime. I need to know how to unlink sublime that is in /usr/lib from /usr/bin. And how to remove all the configurations; like making the sublime.desktop in applications. etc.

Any instructions would be appreciated.