Minga.Mode.CommandState (Minga v0.1.0)

Copy Markdown View Source

FSM state for Command (:) mode.

Carries the command-line input string typed so far (without the leading :), plus the standard count/leader fields.

Summary

Types

t()

@type t() :: %Minga.Mode.CommandState{
  candidate_index: integer(),
  count: non_neg_integer() | nil,
  input: String.t(),
  leader_keys: [String.t()],
  leader_node: Minga.Keymap.Bindings.node_t() | nil
}