Sadly there is not a single line of documentation online (or any working example) for that feature.
How can I do that ?
Please sign in to leave a comment.
Register a custom action and bind it to desired shortcut, then call your script from it. You can find some snippets here https://gist.github.com/gregsh/b7ef2e4ebbc4c4c11ee9
Would you have a 3-liner for me? Just "bind any key" -> "react to it with print("hello") ?