Is it possible to change key bindings in Sublime Text dynamically from a plugin?
-
21-12-2019 - |
Question
Is it possible to change key bindings in Sublime Text dynamically from a plugin or from the console, like in Vim?
A related question: is it possible to choose a keymap file based on the current keyboard layout?
Solution
I'd say it's possible, but in a non-standard manner. You will have to create a custom .sublime-keymap
file that your package will manage completely by it's own by writing/reading to/from it.
On your second question: no, it's not possible to even get what type of layout is currently active.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow