register
@NotNull
Registers a new hotkey.
Return
The registered hotkey.
Parameters
name
The name of the hotkey.
keys
The list of keys associated with the hotkey.
category
The category to which the hotkey belongs.
any Context
A flag indicating if the hotkey should trigger in any context (for example in any menu).