Do you have a lot of plugins with shortcuts, but not enough open shortcuts?
Shortcut Plus allows you to reuse key bindings by associating them with profiles.
Gist is here gist.github.com/4029726
Example:
Two shortcuts to toggle profiles MyProfile1 and MyProfile2.
Also, two shortcuts using the currently bound “escape” key and binding the shortcut to two additional commands under the previously mentioned profiles. (Just simple command for testing purposes).
[pre=#2D2D2D] // Shortcut Plus Toggle
{
“keys”: “alt+"], "command": "toggle_shortcut_plus", "args": {"profile": "MyProfile1"} }, // Shortcut Plus Toggle { "keys": "ctrl+alt+
”],
“command”: “toggle_shortcut_plus”,
“args”: {“profile”: “MyProfile2”}
},
// Shortcut Plus Test
{
"keys": "escape"],
"command": "shortcut_plus_test",
"context":
{"key": "shortcut_plus(profile):MyProfile1"},
{"key": "selection_empty", "operator": "equal", "operand": true, "match_all": true}
],
"args": {
"msg": "All selection are empty!"
}
},
// Shortcut Plus Test
{
"keys": "escape"],
"command": "shortcut_plus_test",
"context":
{"key": "shortcut_plus(profile):MyProfile2"},
{"key": "selection_empty", "operator": "equal", "operand": false, "match_all": true}
],
"args": {
"msg": "All selections are not empty!"
}
}[/pre]
Something I coded up to resolve my own personal shortcut issues. Just something I am trying out to see how useful it might be. If you try it, let me know what you think.