# How do you create a note that partially matches the name of an existing note?

**URL:** <https://org-roam.discourse.group/t/how-do-you-create-a-note-that-partially-matches-the-name-of-an-existing-note/242>\
**Category:** Troubleshooting\
**Created:** [June 2, 2020, 2:15am UTC](https://org-roam.discourse.group/t/how-do-you-create-a-note-that-partially-matches-the-name-of-an-existing-note/242 "2020-06-02T02:15:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yosevu](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/yosevu/32/289_2.png) [@yosevu](https://org-roam.discourse.group/u/yosevu)\
**Post date:** [June 2, 2020, 2:15am UTC](https://org-roam.discourse.group/t/how-do-you-create-a-note-that-partially-matches-the-name-of-an-existing-note/242/1 "2020-06-02T02:15:48Z")

</div>

For example, I’d like to use `org-roam-find-file` to create a note about Spaced Repetition, but I have an existing note about Spaced Repetition with Org-mode. Instead of creating the new note, it matches the existing one and opens it:

 ![Screen Shot 2020-06-01 at 10.10.14 PM](https://global.discourse-cdn.com/free1/uploads/orgroam/original/1X/e01ffb5e658edd979853c346e3626ff8f5587ed5.png)

Is there a better approach to this?

---

<div class="post-metadata">

**Author:** ![alan](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@alan](https://org-roam.discourse.group/u/alan)\
**Post date:** [June 2, 2020, 3:36am UTC](https://org-roam.discourse.group/t/how-do-you-create-a-note-that-partially-matches-the-name-of-an-existing-note/242/2 "2020-06-02T03:36:57Z")

</div>

I don’t know all the ways different completion tools do this, but ivy has `ivy-immediate-done` which in Doom (and I think spacemacs also) is bound to `C-M-j`. It will use whatever you have entered instead of matching.

---

<div class="post-metadata">

**Author:** ![mimischi](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@mimischi](https://org-roam.discourse.group/u/mimischi)\
**Post date:** [June 2, 2020, 8:35am UTC](https://org-roam.discourse.group/t/how-do-you-create-a-note-that-partially-matches-the-name-of-an-existing-note/242/3 "2020-06-02T08:35:20Z")

</div>

You should be able to press the arrow-up symbol, to select the “1 File: Spaced Repetition” line and hit Enter. At least this is what I do, but it might not be the most emacs-way 🙂

---

<div class="post-metadata">

**Author:** ![yosevu](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/yosevu/32/289_2.png) [@yosevu](https://org-roam.discourse.group/u/yosevu)\
**Post date:** [June 2, 2020, 12:12pm UTC](https://org-roam.discourse.group/t/how-do-you-create-a-note-that-partially-matches-the-name-of-an-existing-note/242/4 "2020-06-02T12:12:00Z")

</div>

Yes, that’s what I needed. Thank you. I should have tried that!

---

<div class="post-metadata">

**Author:** ![stites](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/stites/32/53_2.png) [@stites](https://org-roam.discourse.group/u/stites)\
**Post date:** [June 3, 2020, 1:34pm UTC](https://org-roam.discourse.group/t/how-do-you-create-a-note-that-partially-matches-the-name-of-an-existing-note/242/5 "2020-06-03T13:34:36Z")

</div>

My hackier solution is that I postfix with a character that is removed from the filename, `^`, and then remove the character from the generated title and link (if I am inserting a new link).

---

<div class="post-metadata">

**Author:** ![kychua](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@kychua](https://org-roam.discourse.group/u/kychua)\
**Post date:** [June 12, 2020, 4:05pm UTC](https://org-roam.discourse.group/t/how-do-you-create-a-note-that-partially-matches-the-name-of-an-existing-note/242/6 "2020-06-12T16:05:28Z")

</div>

Not sure if it’s correct, but Alt + Enter works for me.
