def bind_keys(*args)
      keys = args[0..-2]
      command = args[-1]

      keychain = keys.join("-")
      if command.is_a? Command
        command = command.command
      end
      set("key_bind_#{keychain}", command)
      @keybinds[keys] = command
      keychain
    end
def bind_keys(*args)
      keys = args[0..-2]
      command = args[-1]

      keychain = keys.join("-")
      if command.is_a? Command
        command = command.command
      end
      set("key_bind_#{keychain}", command)
      @keybinds[keys] = command
      keychain
    end
Bind keys to a command.

 @param [Array<String>] keys An array of keys which will be used to build a keychain
 @param [String, Command] command The command to execute when the keys are being pressed
 @return [String] The keychain
 @see #unbind_keys