Sublime Forum

Never save changes to a new file

#1

I use a plugin that automatically saves changes on files that I’ve opened. But the default behaviour for closing any new files created (Ctrl+N) is to prompt for “Save Changes?” Is there a way to avoid that prompt because I almost always use new files as temporary workspaces and never have to save them. Thanks!

0 Likes

#2

If you delete all the text in an unsaved file, Sublime Text won’t ask you to save.
(cmd+a, delete, cmd+w)
Other than that you could write a plugin to make your buffer a scratch buffer.

0 Likes