- Code: Select all
/Packages/MyPlugin
/Default.sublime-keymap
/MyPlugin.sublime-settings
The settings file looks like this:
- Code: Select all
{
"hotkey_enabled" : true
}
In the keymap file, I have something like this:
- Code: Select all
{ "keys": ["..."], "command": "...", "context" :
[
{ "key": "setting.???", "operator": "equal", "operand": true, "match_all": "true" }
]
}
It's the "???" in the keymap file, which has me stumped. Trying "setting.MyPlugin.hotkey_enabled" or "setting.hotkey_enabled" doesn't work... what's the right way?