def []=(indexes, value)
      indexes = [indexes] unless indexes.is_a?(Range)

      indexes.each do |index|
        process_non_terminals(index)

        if @map.has_key?(index)
          fail MiniTermKME, "Duplicate entry #{index.inspect}"
        end

        @map[index] = [value, index]
      end
    end
def []=(indexes, value)
      indexes = [indexes] unless indexes.is_a?(Range)

      indexes.each do |index|
        process_non_terminals(index)

        if @map.has_key?(index)
          fail MiniTermKME, "Duplicate entry #{index.inspect}"
        end

        @map[index] = [value, index]
      end
    end
Set up the keystroke mapper.
Add a map entry