There’s a FR here for a vault wide setting:
I’ve set the Toggle fold properties in current file command to a hotkey. That’s been working well for me.
Toggle fold properties in current file