class_docstr: Mutable class to hold the state of the Vi navigation.
class_docstr_tok: ["Mutable","class","to","hold","the","state","of","the","Vi","navigation","."]
docstr: Reset state, go back to the given mode. INSERT by default.
docstr_tok: ["Reset","state",",","go","back","to","the","given","mode",".","INSERT","by","default","."]
code: def reset(self) -> None:
      """
      Reset state, go back to the given mode. INSERT by default.
      """
      # Go back to insert mode.
      self.input_mode = InputMode.INSERT
  
      self.waiting_for_digraph = False
      self.operator_func = None
      self.operator_arg = None
  
      # Reset recording state.
      self.recording_register = None
      self.current_recording = ""
  
file_path: catboost/contrib/python/prompt-toolkit/py3/prompt_toolkit/key_binding/vi_state.py
imports: from __future__ import annotations
  from enum import Enum
  from typing import TYPE_CHECKING, Callable
  from prompt_toolkit.clipboard import ClipboardData
label_desc: Use image node_id 4 for calling the ViState obj's underlying member method code with example usage: obj.reset() without return types