498e92f2e4
Decoupled from evil-keys — accepts generic KeyHint data from any source. Ports which-key.nvim's dimension calculation and column-major grid algorithm. Features: unicode-aware truncation, multi-level sorting (group/alphanum/natural/case), configurable styling via builder pattern, auto-sizing with Position-based placement. 76 tests covering dim() (31 ported from nvim), grid layout, truncation, padding, and sorting. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/claude-agent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
10 lines
209 B
Rust
10 lines
209 B
Rust
pub mod hint;
|
|
pub mod layout;
|
|
pub mod render;
|
|
pub mod sort;
|
|
|
|
pub use hint::KeyHint;
|
|
pub use layout::GridLayout;
|
|
pub use render::{Position, WhichKey};
|
|
pub use sort::{default_sort_order, sort_hints, SortField};
|