Mapping a shortcut to custom command #409
Unanswered
abudhakeer
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You need to use both |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to map a keyboard shortcut to perform a custom action. I found the following code snippet from here. But idk how to integrate this with the editor instance. Also, if i want to perform some custom action which is not related to any editor operation, is this snippet enough or should i need to use the
command
as well?Editor instance:
Beta Was this translation helpful? Give feedback.
All reactions