Set the command group to the 'focused group.
Optional
key: stringThe key of the group to activate. If not provided then the current group is activated.
Add a collection of commands to the group.
The commands to add.
Optional
replace: booleanIf true
replace the existing commands. If false
ignores duplicates. If unspecified a warning will be logged for duplicates.
Create a new map to add Commands.
String description describing the reason for the group. This is presented to the user in the shortcut UI.
Optional
replace: booleanIf true
replace the existing commands. If false
ignores duplicates. If unspecified a warning will be logged for duplicates.
The keyboard event to dispatch
Return a command that matched the keyboard event or null
if no command was found.
The keyboard event.
Returns the keys associated with the group
A command group is a collection of commands and child command groups.