Open a new instance without saving session


#1

Hi !

I’m a new user of Atom (previously on notepad++) and I’m looking for a specific launch option I used with notepad++.

Is there a way to launch a new session of Atom (for example with git shell for quick file edit) without saving the session ?

Everytime I edit a file with Atom on Git Shell, it opens a new window (with -n option) and it changes the Project Folder Tree on the left, that will be store in the session, so when I reopen Atom later, I lost the files I was working on before the quick edit in Git Shell and I have to reset my usual Project Folder Tree. This is a little annoying.

Before using Atom, I used Notepad++ wich have this “nosession” launch option setted like this in .gitconfig file :
git config --global core.editor
“‘C:/Program Files (x86)/Notepad++/notepad++.exe’ -multiInst -nosession”

Is there a way to do the same with Atom ?

Thanks


#2

There isn’t a way to prevent the saving of session information, no. There is, however, a new Reopen Project feature in Atom v1.13 to easily get back to a previous session even if it wasn’t the last one.


#3

Thanks for your answer, i’ll take a look at this Reopen Project feature.