//! Keymap engine for Brittle.
//!
//! Provides vim-style key sequence parsing, binding sets, and a stateful
//! input processor that supports count prefixes and multi-key sequences.
//!
//! # Quick start
//!
//! ```rust
//! use brittle_keymap::{KeymapState, default_bindings};
//!
//! let mut state = KeymapState::new(default_bindings());
//! ```

pub mod actions;
pub mod binding;
pub mod defaults;
pub mod key;
pub mod state;

pub use binding::{BindingSet, LookupResult};
pub use defaults::default_bindings;
pub use key::{parse_sequence, Key, KeyCode, ParseError};
pub use state::{KeymapState, Outcome};
