in reply to How do I open a remote file

You want a remote file editor. Assuming you use vim (and let's face it who doesn't ;-) Tip #337: editing remote files via scp in vim.

cheers

tachyon