+5
Lõpetatud

Allow plugins to add keybindings

Greg Williams 13 aastat tagasi uuendaja Jon Skinner 13 aastat tagasi 3

Vasta

Vasta
Lõpetatud
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.
Vasta
Lõpetatud
Plugins can define key bindings in their own packages. The file must be named "Default (<platform>).sublime-keymap"