I want to create new notes with a hotkey (or button using plugins) in specific folders, primarily:
- The same folder as current note
- The vault root folder
Obsidian has a setting to change the default location between these two but there seems to be no way to do them both with their own hotkey.
- “Create New Note in Same Folder”
- “Create New Note in Vault Folder”
Using the open dialogue it is possible to create things in any folder, but this distracts from what I need to write to figure out where to put it and what to name it. Very often I don’t name something until after I write the content - once I have a good idea of what a fitting name might be.
The QuickAdd extension might be able to accomplish this with its templating system.
Personally I am not interested in such a large plugin for such a simple task - partially one that includes network traffic to systems I do not trust, like hosted LLMs. So unlike the other workarounds, I will not test this one myself, but other people may find it useful.
Using templates which point to other templates it is possible to inject a bunch of code and create complex behavior, including emulating something like this.
Until I write the custom template scripts, the ones I have seen have popups and other obstacles to simply creating a note. It also by its nature runs arbitrary code while doing this. This is a very powerful tool, but it requites technical skill and may break with updates. (hopefully not, Templater is an amazing plugin!)
This plugin is by far the smallest and most direct route to emulating this behavior. By setting Obsidian to create note in current folder, then this plugin can create a command which creates a note in the vault folder which can then be mapped to a different hotkey.
However, if you wish orphaned links to be created in the vault folder, then this solution will not work for you.
There are a ton of questions related to this, but the answers usually come back that they need to choose one or the other.