Skip to content

1.0.1

Latest

Choose a tag to compare

@Lorite Lorite released this 09 Aug 17:23

Requires Obsidian 1.6.6 or later.

Confirm before anything is deleted

Obsidian's own delete cannot be intercepted, so this adds a delete the plugin owns end to end: Delete and clean up links in a file's right-click menu, and the matching command. You see what points at the file and decide what happens to those links before it is deleted. Dismiss the dialog and nothing happens at all, neither the delete nor the edits.

Deleting normally still works as before, cleaning up afterwards.

Point links at another note instead of removing them

A note is often deleted because it was merged into another one. The dialog now offers a replacement note per deleted file, with ranked suggestions and the reason each was suggested: an alias match, the same name in another folder, a similar name, shared tags, or a note the deleted one linked to.

Repointed links keep their subpath and keep an alias you wrote, but drop an implicit one, so [[Old Paper]] becomes [[New Paper]] rather than [[New Paper|Old Paper]]. Links are rebuilt in your own configured link style.

Suggestions are never applied on their own. A broken link is loud and stays visible, while a link silently repointed at the wrong note looks correct forever.

Tag matching ignores tags carried by more than 5% of the vault, and tags that a shared folder implies anyway, so vaults that mirror their folder tree into tags do not score every sibling note identically.

Settings in settings search

Settings are declared through getSettingDefinitions, so they appear in Obsidian's settings search on 1.13.0 and later.