SebastianMC / obsidian-custom-sort

Take full control over the order and sorting of folders and notes in File Explorer in Obsidian
GNU General Public License v3.0
287 stars 22 forks source link

[Feature Request] Reload sortspec command #62

Closed replete closed 1 year ago

replete commented 1 year ago

Not really a big issue, but while I'm here I'll mention it:

While I was designing my vault and making sort adjustments, I had to press a lot of keys to reload my sortspec. I improved this by making a Commander macro with sort off and sort on.

It would be a mild improvement to have a single command to turn it off and on again in this scenario.

Auto-reload watching sortspec came to mind also, but Obsidian seems to save/update notes quite frequently and I could imagine this might be get the plugin's knickers in a twist...

SebastianMC commented 1 year ago

The plugin supports two commands, which can be invoked from the Obsidian commands palette. While the full names of the commands are long, they can be invoked by typing in sort on or sort off (or sort-on or sort-off) thanks to the convenience of Obsidian UI:

custom sort commands

I will add description of the commands to plugin documentation