Reload sortspec command #63
-
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 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... |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The plugin supports two commands, which can be invoked from the Obsidian commands palette.
I will add description of the commands to plugin documentation |
Beta Was this translation helpful? Give feedback.
-
(deleted original comment since I missed the mention of Commander in your post - sorry! very out of it today.) this is very very late, but I also did the same for my Custom File Sort, and actually also added a "save file" command at the beginning of the macro before the turn off/on custom sort as I usually only refresh after editing the sortspec file for a bit of insurance that the file has actually saved before invoking the sorting commands. it isn't quite the same as an automatic watch, and likely not as relevant now that drag-and-drop sorting has been implemented (though I personally enjoy maintaining a sortspec file, for folders at least), but it's saved me some frustration when being between autosaves. |
Beta Was this translation helpful? Give feedback.
-
Hi @syrth-io, taking the opportunity, some technical details under the hood:
|
Beta Was this translation helpful? Give feedback.
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:
I will add description of the commands to plugin documentation