Note Composer: Add Source Filename as Property Alias in Target File When Merged to Target File

Use case or problem

When a file A is merged to a file B the content of A can’t be found anymore by searching for A.

In my case I use Obsidian as a note-taking app where every file is a single atomic concept (e.g. Mathematical Set.md, Protein.md, Force.md, …). Now if I come to the conclusion that Feeling.md and Emotion.md basically are the same concepts (though more differentiation always leads to better understanding) I merge Feeling.md into Emotion.md. Now it would be nice if I still could find Emotion.md by looking for Feeling.md via Quick Switcher (Ctrl+O).

Proposed solution

When A is merged into B then an alias A should be added to the merged file B.

Current workaround

Add the alias manually.

1 Like

Related FR about adding the alias in the wikilink (not the property / YAML)

I had what I think is the same issue, and made a custom Merge as Alias plugin to address it. It’s been working for me. I’ll try to submit it to the Obsidian marketplace. I posted about it here, feel free to check it out. Plugin: Merge as Alias - Merge notes preserving source note as alias and optionally merging YAML frontmatter - Share & showcase - Obsidian Forum