I posted Remote Editing In Atom on Thursday, 16 July, 2015

I am slowly learning more about how to use Atom for real work.

Post atom-editor editors

Remote Editing In Atom

I am slowly learning more about how to use Atom for real work. First requirement: my “real work” almost exclusively takes place on a virtual machine. Atom alone cannot handle editing those files. remote-atom to the rescue!

Well, sort of. It’s not as reflexive as bouncing around in a Vim session, but some of that must be due to lack of familiarity.

It works, though.

You can install the remote-atom package from Atom’s Settings View. Follow the directions on the remote-atom package page! You’ll end up with a rmate executable on your virtual machine, corresponding to a master copy in the remote-atom git repo.

rmate communicates with the Remote Atom service, which you need to manage yourself. You can do this from the Packages menu, but I want to get comfortable with the Command Palette.

Start Remote Atom Server from CommandPalette
Start Remote Atom Server from CommandPalette

Once the server is available, you can rmate files to your heart’s content.

$ rmate lib/secret-work-stuff
$ rmate test/secret-work-tests

No point showing a screenshot of lib/secret-work-stuff. It’s justanother tab as far as the Atom user interface is concerned. Saving correctly updated the file on my virtual machine. Simple and straightforward.

Eventually you may want to stop the server. Again, from the Command Palette.

Stop Server from the Command Palette
Stop Server from the Command Palette

I’m still not ready to use Atom as my primary or even secondary editor. However, it’s starting to feel useful — thanks to packages like remote-atom.

Indieweb Social

Did you mention this somewhere? I'd love it if you sent me the link!

disclaimer about timing

Mentions are sent to webmention.io. I fetch the latest mentions when building the site, so I may not see your feedback right away. Especially if my site's broken, which is often the case.

Public replies and mentions might be shared on the site, but I try to do a little quality check first.

Site Links