Plugin for keeping the filename and first heading of a file in sync

This plugin is awesome, a real time-saver, but due to its aggressiveness I have to put a leash and a muzzle on it :grin:. I have some custom H1s that don’t match the file name out of necessity (i.e. a note about “/etc/hosts file” cannot be named like that as a file. In that case the file name may be “etc-hosts-file.md” and that’s fine that way.

So I turn off the switches for “Use File Open Hook” and “Use File Save Hook”.

But then I don’t understand how to trigger the functionality of this plugin manually.

How do I “trigger sync only manually”? Is there a button or a command in the Command palette?

Thanks!

Hi Sararkin,

I wanted to take a moment to express my sincere gratitude for developing the Obsidian Filename Heading Sync plugin. It’s been an invaluable tool for me, significantly streamlining my workflow and saving me a lot of time in managing my notes.

Your dedication and effort in creating and maintaining this plugin have not gone unnoticed. The functionality it provides has greatly enhanced my experience with Obsidian, and I truly appreciate the positive impact it’s had on my productivity.

Thank you so much for your hard work and for contributing such a great resource to the community. Keep up the fantastic work!

Best regards,

In case anyone is looking to do this, please note that if you want to have more than 1 regex pattern to ignore, you can separate them with the “pipe” or | symbol. For example:

_mytemplates/|999-Journals/

will cause the plugin to ignore both the “_mytemplates/” folder and the “999-Journals/” folder (and everything beneath both of them).

1 Like

Sorry, do you mind if I ask what font and theme did you use here? I’ll much appreciate it!