News for hackers. Stuff that matters.
Re:Ask HN: How do you work efficiently on remote servers? by filsmick on Friday March 27, 2015 @09:52AM (#9276229)
Thanks for answer. I'd love to learn about what solution your Sublime coworkers use, as most people here use emacs / vim and I'm most proficient with Sublime.
Re:Ask HN: How do you work efficiently on remote servers? by joeyspn on Friday March 27, 2015 @10:08AM (#9276330)
Probably they're using the "Sublime SFTP plugin" by wbond... I usually use nano on the remote server and sublime remotely via ssh with this plugin. But to be honest it is just for small tasks. 95% of the time we work in local servers with Vagrant/Docker (shared folder --> git push), since our deployments aren't that big.
Re:Ask HN: How do you work efficiently on remote servers? by filsmick on Friday March 27, 2015 @10:35AM (#9276502)
I tried it, but I can't get used to navigating the filesystem with the command palette. It just looks weird IMO.
Re:Ask HN: How do you work efficiently on remote servers? by stewartbutler on Friday March 27, 2015 @10:28AM (#9276449)
Yep, Sublime SFTP.
Re:Ask HN: How do you work efficiently on remote servers? by spoiler on Friday March 27, 2015 @10:03AM (#9276302)
I use a patchy python script (pyhon isn't my first language) to accomplish it. It basically just rsyncs the file once it's saved (using `on_post_save`). It's a bit tedious because I need to manually add folders it's going to watch, Also, it's not exactly remote code editing, since there's a local copy of the file (which is downloaded/uploaded). I believe most Sublime users do something similar to this, however I hope I'm wrong and I'd love to hear about an alternate approach!