For those using vspacecode, is there a way to define a new top-level WhichKey menu? I’ve tried the following without success:
"vspacecode.bindingOverrides": [
{
"key": "A",
"name": "App...",
"type": "bindings",
"bindings": [
{
"key": "s",
"name": "Open Settings (JSON)",
"type": "command",
"command":"workbench.action.openSettingsJson",
}
]
}Ok, trial and error got it working (based on someone’s gist):
{
"keys": ["A"],
"name": "App",
"type": "bindings",
"bindings":[
{
"key": "s",
"name": "Open Settings (JSON)",
"type": "command",
"command":"workbench.action.openSettingsJson",
}
]
},
I’m not sure whey the keys needs to be an array here. I didn’t notice that in any examples.