hjkl-vim 0.5.0

Vim modal state types and grammar primitives for the hjkl editor stack. Pre-1.0 churn.
Documentation
/// Controller commands the host engine implements. hjkl-vim never mutates
/// the editor directly — it emits a command and the host (apps/hjkl) calls
/// the corresponding `Editor` method.
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum EngineCmd {
    ReplaceChar {
        ch: char,
        count: usize,
    },
    /// Emitted by `PendingState::Find` when the user completes `f<x>` / `F<x>`
    /// / `t<x>` / `T<x>`. The host calls `Editor::find_char`.
    FindChar {
        ch: char,
        forward: bool,
        till: bool,
        count: usize,
    },
    /// Emitted by `PendingState::AfterG` when the user completes `g<x>`. The
    /// host calls `Editor::after_g(ch, count)`.
    AfterGChord {
        ch: char,
        count: usize,
    },
    /// Emitted by `PendingState::AfterZ` when the user completes `z<x>`. The
    /// host calls `Editor::after_z(ch, count)`.
    AfterZChord {
        ch: char,
        count: usize,
    },
    // Future variants land in chunks 2c–2e: GotoMark, etc.
}