hjkl-keymap 0.24.3

Backend-agnostic modal keymap: chord parsing, trie dispatch, leader/chord resolution for the hjkl editor stack
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! `hjkl-keymap` — backend-agnostic modal keymap for the hjkl editor stack.
//!
//! Provides:
//! - [`KeyEvent`], [`KeyCode`], [`KeyModifiers`] — backend-agnostic key types.
//! - [`Chord`], [`ChordParseError`] — vim-style chord notation parser/serializer.
//! - [`Keymap`], [`Binding`], [`KeyResolve`], [`Mode`], [`KeymapError`] — stateful dispatch.

pub mod chord;
pub mod key;
pub mod keymap;
pub mod trie;

pub use chord::{Chord, ChordParseError};
pub use key::{KeyCode, KeyEvent, KeyModifiers};
pub use keymap::{KeyResolve, Keymap, KeymapError, Mode};
pub use trie::{Binding, Predicate};