code: function InputState() {
        this.prefixRepeat = [];
        this.motionRepeat = [];
  
        this.operator = null;
        this.operatorArgs = null;
        this.motion = null;
        this.motionArgs = null;
        this.keyBuffer = []; // For matching multi-key commands.
        this.registerName = null; // Defaults to the unamed register.
      }
docs: Represents the current input state.