Templater icon indicating copy to clipboard operation
Templater copied to clipboard

Use different folders to populate insert (snippet) modal and create new file modal

Open deafmute1 opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe.
New file templates and insert/inplace templates are written completely differently in my experience. Templates made for one purpose are almost exclusively used for that purpose. For example, new file templates set frontmatter values, inplace ones don't. If you have many templates, these modals become bloated and full of files that are irrelevant to you and would break if used.

Describe the solution you'd like A clear and concise description of what you want to happen. Allow user to set separate folders to populate the two modals, so that we can segregate templates by the use case. Users who want to maintain the current situation can set the same folder for both.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. No alternatives

Additional context Add any other context or screenshots about the feature request here.

deafmute1 avatar Sep 25 '24 00:09 deafmute1

Hi!

Users already get overwhelmed with the number of settings that Templater has, I would like to avoid adding more.

I have a similar workflow, often my create and insert template are different. I handle this by putting them in different folders in my templates folder, then the insert and create template are grouped by folder and can easily filter down to the list of templates I'm interested in.

Zachatoo avatar Sep 25 '24 02:09 Zachatoo

@deafmute1 I faced same issue when i accidently corrupted some notes by applying 'rename + move' template while wishing to create new note in specific folder.

In my case i resolved such issues by refusing to use ''Create a new note from template" feature at all, so no mistakes will happen again, and also put templates in separate sub-folders as @Zachatoo advised. In my workflow i explicitly create new note and then applying template to it.

cococodeng avatar Jan 26 '25 11:01 cococodeng