chhoumann / quickadd

QuickAdd for Obsidian
https://quickadd.obsidian.guide
MIT License
1.49k stars 135 forks source link

[FEATURE REQUEST] Option to make "Create new file" File Explorer button open QuickAdd #557

Open komiksam opened 1 year ago

komiksam commented 1 year ago

I'm developing a TTRPG in-game environment companion within an Obsidian vault. Because of the config of some templates, the "Create new note" button on the File Explorer makes a new file in the main folder and triggers a specific template I want to avoid when manually creating new notes.

That's why I need users that use this vault to directly get to QuickAdd by clicking that button, so it'd be nice to have an option in configuration to replace the effect of clicking it, making it open QuickAdd if the option is activated. This feature would also be really helpful for my workflow in my personal vaults, and I think more people would appreciate it.

komiksam commented 6 months ago

I have two current workarounds for this that I use in different vaults.

The first one is just using the "Hide file explorer buttons" in the Hider plugin settings.

The second one is making a Templater folder template assigned to the root folder("/"), which has javascript code that calls the specific template that I choose from a suggester, which moves the note to the right library.