What I’d like to do is run a few commands in sequence, so one after another. I realize I could just use the command palette and execute them, but I was wondering if there is a smarter way to do that.
My use case is that I have a few command that I always run after creating or updating a note, like linting the file and running a command to update a header (to mark the last updated date). Is there a way to do this with a single command or plugin?
From what I understand of your request, the Quick Add Plugin would be perfect for your needs. Amongst other things, it allows you to build macros which are basically a sequence of commands/actions that you automate. In this case, the macros you build can be a combinaison of commands you find in the command palette (including those of plugins !!) as well as scripts (in Javascript) and much more.
Here’s the repo if you want to check it out, it’s a great plugin.