simplgy4k downloadsDefine a hotkey and Moment.js pattern for the file that is most important to you (eg: your daily/weekly/monthly note).
Plugin for Obsidian
A quick way to open files that match a date pattern.
If you're trying to open a "weekly note" file or something similar, you're in the right place. This plugin has some flexibility that I couldn't find elsewhere.
My use case: Open the note for "most recent monday". But, you can use it for any datestamped filename.

{YYYY-MM-DD} foo.mdweekly notes/{mon: YYYY-MM-DD} week.md{MMMM} monthly note and {YYYY} yearly noteThe key piece of code is here, where the input file pattern is parsed by moment.js either against today's date or a different one:
// send anything in curlies "{mon:...}" to moment.format for the preceeding monday
// eg: `Weekly Notes/{mon:YYYY-MM-DD} week.md`
str = str.replace(/{mon:(.*)}/g, (match, captured) => priorMonday.format(captured));
// send anything in curlies "{...}" to moment.format
// eg: `Daily Notes/{YYYY-MM-DD}.md`
str = str.replace(/{(.*)}/g, (_match, captured) => now.format(captured));
# npm install
npm run dev
(for auto refreshing) install git clone https://github.com/pjeby/hot-reload.git and turn it on
package.json (only)npm run versiongit pushThis will trigger
.github/workflows/release.yml.verify the workflow is running here. Verify releases here
Originally forked and learned from Hotkeys for specific files. Thank you, Vinzent03.