This would be a great addition, Maybe even make it configurable that users can decide how many recent commands they want to see in the cmd-P window. I would love 3 command e.g.
In the meantime this might help:
I really need a command for executing last action. Even if the scope of execution is just the editor itself
I did a part of plugin doing it. That’s several tools I will put together…
You can enable other tools or not in the settings. But repeat last command is by default (too important!)
click on My Tools below to follow the link
My tools
I didn’t publish it, but you can install it with brat
The command mode of Quick Switcher++ has this feature.
It’s now working with commands run by shortcuts too
Being able to use the recent command history (e.g. last 5 commands) would be useful.
The quick switcher also shows a list of the most recently opened notes.
The problem with it is that…
GitHub - darlal/obsidian-switcher-plus:
…the suggestion list will display the list of pinned commands, followed by a list of commands that were recently executed.
Thus, if you have a lot of pinned command it gets buried, specially on mobile, and I often need the last command used ready accessible with one tap or one shortcut.
I hope in the future “Repeat last command” gets it’s standalone command, forgive the redundancy!
