Hey developers,
I've created a small node-module, to make it easier to create key-binds (also multiple keys).
For example, you are able to do this:
keyBinder.bind('ctrl+n', () => {
mp.gui.chat.push("Ctrl+N");
});
The last key in the chain (a+b+c+d) can be any key and all the other keys have to be 'modifiers'.
By default ctrl, alt, and shift are modifiers. So you can create combinations like: 'shift+ctrl+k'.
For more information please take a look into the reposi