While we call it the
Lookup Bar, you can also use it to create notes that don't exist. When you lookup for a note that hasn't been created, Dendron will create it for you.
To try it yourself, bring up the lookup bar. Type
hello and hit
Creating Special Notes
Dendron has builtin notion for certain types of notes with pre-defined hierarchies. These notes can be created by toggling the corresponding note button on the lookup menu or by using the respective builtin shortcuts.
- none (default): create a regular note
- journal: create a journal note (cmd/ctrl + shift + j)
- scratch: create a scratch note (cmd/ctrl + shift + s)
Creating Notes with a Selection
If you have text highlighted while creating a new note with a lookup, the new note will be created using the text selected. How the text will be used depends on the
- selectionExtract (default): create new note with text from the old note. remove text from the old note
- selection2link: create new empty note and turn selection into a link referencing the old note
Vault Selection for New Notes
If you have multiple vaults in your workspace, you can control the behavior of which vault your new note will be placed in:
Vault Location when Creating a Note
When creating a note in lookup, Dendron will try to create your note in the correct vault. By default, it will place the note into the same vault as the currently opened note. But if it detects that the new note matches an existing hierarchy in a different vault, you will get prompted to pick the destination vault:
Prompt for Vault Selection Each Time
With this set, you will be prompted to select the vault location each time you create a note when you have multiple vaults in your workspace.
To enable, add
lookupConfirmVaultOnCreate: true in the dendron configuration. Instructions to do so below.
Dendron: Configure (yaml)
lookupConfirmVaultOnCreate: trueso your configuration looks like the following:
version: 0 ... lookupConfirmVaultOnCreate: true