Open file in new window from Finder


I am on a Mac, and I often work with multiple atom windows open, each with different projects. Sometimes, I will want to open a new file by clicking on it in Finder, or by spotlight searching for it. Unfortunately, when I open a file this way, it often opens the file in one of the windows I am using for an unrelated project. I would prefer it if when I opened files like this, atom would simply open them in a new window. Is there some setting I can change to get this effect?


You can use the -n flag to open a new window.


This works excellently for opening files in atom from Finder in a new window, thank you. Should this work when opening a file from a spotlight search?