When writing, we can link to a note that does not yet exist, and then follow that link and create the note by pressing Alt + Enter, or Ctrl/Cmd + Alt + Enter to open the newly created note in a new pane.

In both cases though, focus leaves the current note. It would be great if there was a way to look at the link under the cursor and create the note if it doesn’t exist, without opening that file in the editor or creating a new pane etc.

Alt + Shift + Enter might be a candidate shortcut for this.

5 Likes

Just curious, but why would you want to create the note if you are not going to put content in it?

Related: https://forum.obsidian.md/t/auto-create-new-notes-by-linking-to-them/106

… we can link to a note that does not yet exist …

It would be great if there was a way to look at the link under the cursor and create the note if it doesn’t exist

???

Sometimes I do this while writing, usually the idea is that I know that I will later want to create a note on the thing I’m linking to, but I haven’t finished writing the current note, or I don’t want to write the new note yet. However I want something to remind me and indicate that I was intending to make a note on that topic. My new notes are set to be created in a separate folder, so occasionally I just look through that folder and write up whatever is in there.

This works well for me because my use case is primarily writing up my maths notes. Usually I have some topic I want to write about, but there will be prerequisite topics that need to be introduced, so if I find myself referring to some topic I’ve yet to create a note on, that’s a good cue for me that I need to create such a note, but usually I do that after. It would be very difficult to keep track of all the topics I intended to make notes on without having the note exist in my incomplete folder, hence wanting the note to exist upon linking, without having to move to that linked note and interrupt my work flow for the note I’m currently working on

2 Likes

This is definitely something that I am looking for as well. We discussed it in Discord a little bit.

One idea was making the links in the current note easier to navigate so that you could go back to them after the note, however, I still have a problem if that was the only thing implemented. What if I have more than one link that I want to make a note from? I would like to make a template or blank note for all of them so that I can use the quick navigation to go-to those notes afterward. If it was only the quick link navigation, I would be able to navigate back to one of the links quickly, make the new note, switch context, and continue there, but now what about the other 2 or 3 links that I needed to make notes for? I would have to go back to the original note, find the next link, and make the next note from there again. I would much rather have them all already created while I was making the original note.

4 Likes

I agree, the behaviour you describe is something I would like too

Perhaps there are other ways to solve this issue without actually creating the file. Obsidian could provide a list of links without files. I’ve also requested that the quick switcher include these links.

3 Likes

That could work as well.

Is there a reason that this would be better than just for example a toggle switch in the settings? Thanks!

For full mouse-less action with fastest action the command palette should be able to make a new note with ‘new name-of-my-note’.

2 Likes

Not necessarily better, just a different approach.

I agree that this would be helpful.

I have experimented with taking lists that I have already created elsewhere and pasting them into columns (In libre office calc) and then select column, find and replace with find set to .* and replace set to [[& then replace all. Then I do the same with replace set to &]]. Then I copy and paste the unformatted text into a new note. If this could somehow automatically create all of those .md files that would be sweet.

I think he means the function like plugin “Page preview”

Now I am using the “Quick switcher” plug-in, and copy all then paste.
I think the final solution could be tabs in pane + hot string or text expander. There are many mentions about the expander now and you can also use espanso.

1 Like

I am bumping this because I think its an important feature.

The way I imagine implementing this is through the pop up menu that already appears when creating a link. Similar to the ability to link to a header, maybe the addition of a symbol creates a new note.

I like the idea some of you mentioned for more flexibility in creating the note. I for one would like to be able to choose which folder the note goes into. I haven’t started creating template notes yet but I could also see it being incredible useful to choose which template the note should be created as.

1 Like

I think this should be a setting where the user decides whether or not to create the page upon new link detected.

I’m not sure if I’d like having several files empty. For example, I point to several dates ([[2020-11-10]] and so on) in my vault, but these files don’t necessarily contain anything, they are just there to organize information, whenever I search for an exact match of the link.

Any news on this topic?

Can we please get an update? This is a feature I would really like.

Seems like an option in settings to toggle on / off is best solution.

1 Like

I think this relates to what I have posted here under Fully transclude backlinks

Any update on this?