euporie.core.key_binding.vi_state

Create a Vi state which defaults to navigation mode.

Classes

InputMode(value[, names, module, qualname, ...])

PtkViState

alias of prompt_toolkit.key_binding.vi_state.ViState

ViState()

Mutable class to hold the state of the Vi navigation.

class euporie.core.key_binding.vi_state.ViState

Bases: prompt_toolkit.key_binding.vi_state.ViState

Mutable class to hold the state of the Vi navigation.

property input_mode: prompt_toolkit.key_binding.vi_state.InputMode

Get InputMode.

last_character_find: CharacterFind | None

None or CharacterFind instance. (This is used to repeat the last search in Vi mode, by pressing the ‘n’ or ‘N’ in navigation mode.)

named_registers: dict[str, ClipboardData]

Named registers. Maps register name (e.g. ‘a’) to ClipboardData instances.

reset() None

Reet state, go back to the given mode. NAVIGATION by default.

tilde_operator

When true, make ~ act as an operator.

waiting_for_digraph

Waiting for digraph.