3 ms·
He mentions using (1) vi or emacs instead of (2) Textmate or notepad. I wasn't aware that one could use (2) in place of (1). How is that done? Does one need to
by hackaflocka 13y ago
He mentions using (1) vi or emacs instead of (2) Textmate or notepad. I wasn't aware that one could use (2) in place of (1). How is that done? Does one need to SFTP a text file from the server to a client GUI OS, modify it, and then SFTP it back?
- velis_vel 13y agoTextmate has some kind of support for automatic remote editing, I don't know the details.
- robinduckett 13y agoIt involves installing a binary on your remote server which always seems insecure as balls to me.
- cmdkeen 13y agoOr use Cyberduck to monitor when files you open with it get saved and it syncs them back. Cyberduck + Textmate is a joy.
- tomsthumb 13y agosshfs can make remote directories appear local. It's not the cleanest thing in the world, but it can work. sshfs can be had using mac ports.
- richthegeek 13y agoIf you actually want to edit live on the server, SSHFS is the way to go - mount a remote location over SSH to act as a standard file system. However, editing live is bloody idiotic. Use git locally and live-deploy based on tags/branches.
- hmottestad 13y agoI use Transmit to connect to my server. Then right-click "edit in" and your favourite editor. When you save, Transmit will automagically upload your file for you ;) Though I still recommend using something like git, because at some point you will do something stupid and you probably won't find that backup :(