Ease removal of empty 'Untitled' notes

I can’t be the only one who accidentally creates many empty Untitled notes by accident because I’m not in the correct folder. Can we have a feature to monitor for new notes with 1) the title Untitled or Untitled 1 (or any digit) and 2) no note content, and to automatically delete such notes that are active in the editor when the user hits Esc or some other keyboard shortcut?

Alternately or additionally, could we have a command that automatically deletes all files in the vault that meets those same criteria?

13 Likes

Came here to request exactly the same thing.

An option to auto-delete files called Untitled with a file size of zero.

4 Likes

I would say that’s even too complicated. You open a note without changing the title and close it again, it should automatically be deleted.

1 Like

Came here to request the same. I also end up with Untitled files everywhere, because they get created in a folder I don’t expect. Would be great if they didn’t get saved unless content was changed…

1 Like

Bumping this thread. Does anyone know how to prevent new notes from being created as Untitled in your vault? It’s far nicer to have the notes only join your vault after they are saved. I have tons of Untitled notes that I need to constantly delete because of this

Came here just to say the same thing. If the note is blank and actually Untitled, I don’t think I want to save it

Found a workaround: Using the Janitor plugin with only “Process empty” and “Run at startup” enabled, and “Ask for confirmation” disabled will automatically delete any 0 file size notes every time you launch Obsidian

1 Like

Who says old posts don’t have value.

I am forever clicking on un-instantiated links but don’t add content to the note.

Installed the Janitor plugin and was astounding by how many of these empty files I had. Poof! They’re gone.

Cheers @leterhaar !