Returns the key combinations for a given binding command. Although the default UI only allows two combinations to be bound to a command, more than two can be set via the API.


See also Keybind functions.

Signature:

key1, ... = GetBindingKey("COMMAND")

Arguments:

  • COMMAND - Name of a binding command (string)

Returns:

  • key1 - First key binding for the command, or nil if no key is bound (string, binding)
  • ... - A list of additional bindings for the command (list)