command.setshortcutΒΆ

nil command.setshortcut ( [string|command] command , [string|nil] shortcut )

Set a command shortcut

Arguments:

  • command The command or command label to associate shortcut to
  • shortcut The command shortcut to associate (or nil if no shortcut is to be associated)