Open a project in Atom editor
I was trying the new editor by Github called Atom, and I was a little annoyed that when I closed it and re-opened it, it didn't just open where I left off, like Sublime Text does. However, since I'm usually in the command line anyway, I realized that if you use the atom
command in your command line from within a project directory, it will launch Atom for that project as you last used it. Pretty sweet.
mymac: ~
→ cd ~/Sites/my-project
mymac: ~/Sites/my-project
→ atom
Launches Atom with your project in the sidebar.
That's it!
Written by Jon Thomas
Related protips
2 Responses
Is there any way to open Atom and then open a project file structure within Atom?
Other than maybe dragging a folder or group of files to Atom, I'm not sure. I actually haven't used Atom in a few months, so I don't know if they have anything new in that area, such as a list of saved projects to choose from like Sublime Text has.