In my current daily notes setup, I’m trying to design a button labeled “crumple” using the meta-bind plugin. The idea is just that at the end of the day, I press crumple and it “crumples” the daily note, archiving it in a separate folder. The code for the button looks like this:
style: primary
label: Crumple
action:
type: command
command: file-explorer:move-file
I’d love for it to just use the built-in move-file command, but the problem is that I can’t figure out how to supply parameters to commands in meta-bind so what ends up happening is, this button just pulls up the same dialog that running the move file command does (I.e. it asks you where you’d like to move the file). Is there any way to set up a button (in meta-bind or otherwise. I’m not picky) to move a file to a particular location without prompting the user for anything? Maybe I have to write a custom command that does this without taking any parameters and then use that command in the meta-bind button? Idk but I’d love to hear your solutions.
Thanks in advance!