'Hook to New' wrong folder and prefix not working

In Hookmark settings, I have designated a folder inside my Obsidian vault for new notes hooked to the focused item. I have also added the standard prefix “Hook-” in settings for new hooked notes.

However, I have experienced two bugs with this:

  1. when I hook to an email (for example) and create a new note (Cmd+N), the note is not in the chosen folder in Obsidian, but rather in the root folder.
  2. The prefix is not being applied to the note title.

Hookmark is up-to-date on build 6.11.1, and so is macOS on 26.1.

1 Like

Thank you for contacting us, @JohnB .

Could you please send us a screenshot of Hookmark Settings window→Notes?

Thank you

1 Like

Here you go.

Thank you for the screenshot, @JohnB .

Sorry for the confusion. At the moment, these settings only apply to file templates. Thank you for reporting this issue — we’ll take a look.

Regarding Obsidian: although Hook to New Obsidian creates an Obsidian file, the file itself is created and managed by Obsidian, so Hookmark does not have control over it.

In your case, you can place a .md (or any other supported) file in the custom templates folder and set it as your default template. Then, using Hook to New with that template will add the prefix to the file name, and the file will be created in the folder you specify.

To add a template file to Hookmark:

  1. In Hookmark Settings → Notes, click Open Templates Folder in Finder.

  2. In Finder, open the custom templates folder and paste your file there.

  3. Restart Hookmark.

  4. Go to Hookmark Settings → Notes → Templates → Default, and select your template as the default. Please note: in the templates list, the template name is prefixed with the app name that opens it by default.


Thank you

Thanks for the reply. I need to clarify why the response doesn’t address the issues I reported.

  1. File placement: In Settings → Notes, the interface indicates that Hookmark will place new notes in the folder I specify. I’ve set a subfolder, yet Hook to New (with Obsidian) continues creating files in the root folder. If these controls apply only to file-template workflows and not to app-specific integrations – which it sounds like you’re saying – that limitation is not clear. The behavior does not match what the UI suggests.

  2. Prefix not applied: The configured prefix is not being applied to Hook to New Obsidian notes. This was not addressed in your reply, so I need to know whether this is expected behavior or another defect.

  3. Obsidian integration: If Hookmark relies entirely on Obsidian’s API to create the file—and therefore cannot control placement or filename rules—this should be stated clearly. The current settings imply that Hookmark governs those parameters regardless of the target app.

At minimum, the UI or documentation needs to reflect these constraints so users aren’t configuring options that have no effect.

Thanks,
John

Thank you, @JohnB . And sorry for the confusion.

For now, the settings for file placement and prefix only apply to file templates.

We will update the UI and documentations.

Thank you