Haha, I saw your plugin just as I was publishing mine!
By the looks of it yours is capable of much more advanced functionality. If you were to steal the āClick to de-selectā functionality from mine I would probably just use yours instead
.
Also, in case you didnāt know (or maybe you donāt want to add them), you can supply default keybindings to your commands like this:
this.addCommand({
id: "add-cursor-to-prev-line",
name: "Add New Cursor to Previous Line",
editorCallback: ...
hotkeys: [
{
modifiers: ["Ctrl", "Alt"],
key: "ArrowUp",
},
],
});