FSM state for Visual mode.
Carries the selection type (characterwise or linewise), the fixed anchor position of the selection, and the standard count/leader fields.
Summary
Types
Selection type: characterwise or linewise.
Text object modifier (inner vs around) for visual text object selection.
Types
@type selection_type() :: :char | :line
Selection type: characterwise or linewise.
@type t() :: %Minga.Mode.VisualState{ count: non_neg_integer() | nil, filetype: atom(), leader_keys: [String.t()], leader_node: Minga.Keymap.Bindings.node_t() | nil, mode_trie: Minga.Keymap.Bindings.node_t() | nil, text_object_modifier: text_object_modifier(), visual_anchor: {non_neg_integer(), non_neg_integer()}, visual_type: selection_type() }
@type text_object_modifier() :: :inner | :around | nil
Text object modifier (inner vs around) for visual text object selection.