I have recently installed Sublime text 2 and I must say it's one of the best text editors I've ever used or even seen in use.
So I managed to install everything and added to the unity menu and also change all the entries of gedit.desktop to sublime.desktop and it works just fine for most files, but I realised that some files still open in gedit, for example PHP files. I checked the default list for PHP, but there isn't anything in there.
How would I set the default for opening PHP files?
Also, Sublime doesn't show up in them properties menu where I can usually select the default program.
I'm using Ubuntu 12.10.