:w !sudo tee %cmap w!! w !sudo tee % >/dev/null
This is always the killer for me.
https://github.com/epall/dripbox
I use it every day, editing files locally in Sublime Text 2, and then cmd-tabbing to Terminal to run tests. It's fast enough that I never even think about the delay.
- ExpanDrive, which uses MacFUSE to mount remote volumes over SSH, but with lots of metadata caching smarts to make it fast and reliable
- My hacky remote textmate script, which gives you a "mate" command on the remote machine via ssh tunneling (https://github.com/jaylevitt/textmate_remote)
to work well with TextMate. I've been meaning to try it on ST2 but haven't yet; as long as ST2 doesn't do the horrible thing TextMate used to do and continuously rescan the project directory in a blocking thread, you'll be cool.
This is very convenient and not having this was the reason for still having TextMate around.