stefanopagliari / bibnotes

359 stars 30 forks source link

[Feature Request] Command to create the literature note in the current file #107

Open annargrs opened 2 years ago

annargrs commented 2 years ago

The current workflow presupposes that you start from selecting the reference for which to create a literature note from the citations picker menu, which you need to summon first.

Some of us use [[@citekey]] as a way to link to references even if they don't have their own literature notes yet, e.g. in reading lists or quick maps of content. This also could provide a faster alternative route to the usual method of creating the literature note:

Current workflow: (1) run the command to open the picker, (2) find the citation, (3) create the note

A faster workflow: (1) click on the link to non-existing literature note to create and open it, (2) run a command to auto-populate it with zotero info, based on the fact that the name of that note is the citekey.

To make this happen, we'd just need a command in the command menu that would (a) grab the name of the current file, (b) use it look up the reference and any necessary info, (c) format the note with the usual template, (d) paste it in the currently open file.

If this is mapped to a shortcut, the whole operation would take a second.

stefanopagliari commented 2 years ago

@annargrs this is a good idea. Something like "updated open note". I will add it to the pipeline of improvements.

nb-e commented 2 years ago

Bump! Also I prefer the flexibility of the "Citations" plugin which has three commands:

1) Open Literature Note - this is equivalent to "Create/Update Literature Note", but is nice because you're also brought to the literature note you just created 2) Insert Literature Note Link - search and paste the obsidian link to the literature note into the current pane, which helps for making reference to Literature notes you might not perfectly remember the title of. 3) Insert Literature Note Content into the current pane - search and paste the content for a literature note into the current pane

jeetsukumaran commented 1 year ago

Just adding my support for this feature! Would make it really useful when, for e.g., migrating older literature notes over. For example, as my workflow evolves, the structure of my lit notes change too. I update older notes as I come across them by, for e.g. just regenerating the auto header/metadata etc.