Reputation: 42329
Sublime
has this cool feature where you can create a new file (or modify an existing one) and close the text editor without having to explicitly save the modifications.
Next time the editor is opened, the unsaved modifications will still be there.
Is there a way to mimic this behaviour in atom?
Upvotes: 4
Views: 834
Reputation: 905
This functionality is already included in Atom by default now.
Open Empty Editor on Start
Restore Previous Windows on Start
to Always
.Also, restore will not work in Atom unless at least one Project has been added to the Project pane. You can add anything there. You can just add my Documents folder.
Upvotes: 4
Reputation: 6016
This sublime feature is called hot exit
. Although atom doesn't has this feature this package claims to implement it.
Note: I haven't tested it, so I don't know if it really works; be careful in order to avoid losing your work.
Upvotes: 1