Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
Hi, I was wondering if it was possible to override key presses with python script.
It looks like "editor.assignCmdKey" only takes special characters, and the SCINTILLANOTIFICATION.CHARADDED displays the character to the screen (also, this event only appeared to be fired for printable characters, e.g. not 'up' or 'shift').
I'd like something akin to setting a macro in notepad++, but I'd like to fire some callback function instead.
The end goal is to create a vim-style mode by listening for key presses and overriding them depending on whether we are editing or traversing.
Any help on this would be much appreciated :)