hjkl-0.2.0 is not a library.
hjkl
Vim-modal terminal editor. Standalone TUI built on the hjkl engine.
Native vim-modal editor. Single static binary, no plugins, no config files. Built on the hjkl-engine + rope buffer.
Install
Or grab a pre-built binary from the releases page.
Usage
What works (v0)
- Normal / Insert / Visual / Command modes with full mode-indicator cursor shape
- All standard motions, operators, and text objects (free from the engine FSM)
- Status line: filename, mode, cursor position, dirty marker
:wsave,:qquit,:wq/:xwrite-quit,:eopen file:setoptions,:%ssearch-and-replace with confirmation prompt:!cmdshell exec,:r !cmd/:r fileread-into-buffer//?incremental search with match highlighting- Undo / redo, marks, registers
- Terminal resize handled mid-frame
- Read-only guard (
-Rflag + engine-level mutation block) - Jump to line (
+N) and search-on-open (+/pattern)
What's deferred
- Splits / tabs / multiple buffers
- Syntax highlighting
- Plugins / config files
- LSP
Related crates
hjkl-buffer— rope-based bufferhjkl-engine— modal-editing FSMhjkl-editor— ex commands, search, shell exechjkl-ratatui— ratatui rendering adapters
See SPEC.md for the frozen 0.1.0 trait surface.
Links
- Website: https://hjkl.kryptic.sh
- Repository: https://github.com/kryptic-sh/hjkl
License
MIT.