On Jan 9, 2006, at 11:39 PM, Simon Dorfman wrote:
Any other ideas for accomplishing the same goal (edit remote files with TextMate) are also welcome.
If it's a web site you want to edit, you can enable a remote directory for WebDAV, then mount it with the Finder. You can then open any web site file as if it were local.
Another approach that I've seen in other programs is an inverse of what you suggest. Instead of the remote site pushing a file to the client, the client (i.e. the text editor) pulls the file from the server using SFTP. Although this doesn't allow a seamless "mate" command from the remote server's shell, it works with existing, well- known protocols and should be more reliable than a custom script.
Other text editors, such as jEdit and BBEdit, already support SFTP, so hopefully TextMate will also support it in the near future.
Trevor