@mntmn if setting up an #rmate script to remotely edit a file over ssh with an visual editor that supports #TextMate's remote-mate way of editing (for example #SublimeText, or #TextMate2 itself) is an option, then that would also come to mind. :)
#rmate #textmate #sublimetext #TextMate2