This is much better than seeing that I can't save, copy the whole file to the clipboard, reopen it with 'sudo vim' and then pasting it (no. Not even 'sudo subl' works)
One of the main reasons I use an editor like TM or S2 for is system administration which often requires root. For development I'm usually using the JetBrains IDE with the respective plugins.