Allow new notes to be added to "currently selected folder"

Use case or problem

Currently, when you first open the app (PC or mobile), browse through your file structure (e.g. twirl down different folders to view their contents), and then create a new note (by clicking the New note icon, or pressing CTRL+N), it will always create a note in the root directory.

Even if you have the “same folder as current file” feature selected, it will still open in the root directory because you don’t have a current file open. You just opened the app.

If the last folder I clicked on was “Favorite Foods”, this behavior is counter-intuitive. The act of me clicking on a folder intuitively makes me believe that when I now press CTRL+N, the note will get dumped into that folder.

Proposed solution

It would be great if Obsidian recognizes that we have currently highlighted a folder (in the file explorer view), and so if we press CTRL+N or the “new note” icon, that we have the option for it to create a note in that folder.

Current workaround (optional)

Currently the only way to achieve this is to right click or hold your finger down on the desired folder, and then click “New Note” in the menu that pops up. This workaround is a bit cumbersome particularly when you have selected a folder, and have now already started scrolling down the list of notes in that folder. You would have to scroll all the way back up, find the name of the folder, right-click it, and click new note.

Related feature requests (optional)

Not sure how related this is, but it’s related to selecting which folder a note goes into: New note in folder - better method

2 Likes

In the Obsidian preference, you can tel obsidian exactly where a new note will be saved.

Right, but Obsidian only has three options:

  • Save to root folder
  • Save to the same folder as the currently open file
  • Save to the folder you specify here: ____________

The problem with the 2nd bullet is that you must already have a file open for it to work. What if you’re navigating through the file structure viewer while you don’t have any notes open (e.g. because you just opened the app, you had the graph view open last, or you closed all the open notes). You would intuitively want any new note to be created inside the folder you are currently navigating inside (e.g. the folder you have highlighted in the file structure viewer)

The problem with the 3rd bullet is that it forces all new notes to be created in the same folder every time, rather than adapting based on which folder you’re currently diving into.

Hope that helps clarify!

A folder note plugin may help you for now, using the option to open a folder’s note when the folder is selected.

Your request is different from but I think related to

Both want better integration of folders.