+5
Completed

Allow plugins to add keybindings

Greg Williams 13 years ago updated by Jon Skinner 13 years ago 3

Answer

Answer
Completed
Plugins can define key bindings in their own packages. The file must be named "Default (<platform>).sublime-keymap"
Plugins can define keybindings commands, which can be associated with keybindings by user or plugin itself. Isn't?
He means allowing plugins to modify the bindings stack directly
No, I don't want access to the keybindings stack really, as powerful as that may be. I just want a plugin/package to be able to have it's <package>.sublime-keymap picked up just like it worked in 1.x.

I had read a comment a while back that Jon was planning of customization of binding loading rather than just alphabetically based on the package name, since that was a poor solution. Maybe the port of package bindings is waiting on that new fandangled magic to be fleshed out.
Answer
Completed
Plugins can define key bindings in their own packages. The file must be named "Default (<platform>).sublime-keymap"