#layout #editor #pane #split #tui

hjkl-layout

Renderer-agnostic window/split layout machinery for the hjkl editor stack. Owns LayoutTree, Pane, SplitDir, WindowId, and all traversal/focus/resize/swap/equalize operations.

29 releases (17 breaking)

Uses new Rust 2024

new 0.41.2 Aug 6, 2026
0.40.0 Aug 1, 2026
0.39.1 Jul 30, 2026

#1244 in Text editors


Used in hjkl

MIT license

91KB
1.5K SLoC

hjkl-layout

Renderer-agnostic window/split layout machinery for the hjkl editor stack. Owns LayoutTree, Pane, SplitDir, WindowId, and all traversal/focus/resize/swap/equalize operations.

CI crates.io docs.rs MSRV License: MIT

Part of the hjkl monorepo — a vim-modal editor in Rust.

Documentation

docs.rs/hjkl-layout

Contributing

See the monorepo CONTRIBUTING guide.

License

MIT — see LICENSE.

No runtime deps