Perhaps [[# or [[## does a global search of specifically headers and when selected places [[thenote#theheading]]
That way it’s a conscious action to do the “search all headers” and not the default.
You could also do a search for all files & headers too, to see anything linkable, but maybe that’s a different command as well?
There’s been times I want to search a heading and if the titles were in there it’d just clutter, but I could see a use for searching anything I can link to.