In case you haven't already tried it, Multiple Cursor Mode for emacs is awesome. I actually got chills the first time I used it to edit multiples lines of work on a physics problem. All those repeated lines of LaTeX code, and now I can change them all at once!

It's in Marmalade, so go try it out!