| Crates.io | cursive-hjkl |
| lib.rs | cursive-hjkl |
| version | 0.2.0 |
| created_at | 2024-05-10 16:40:31.90434+00 |
| updated_at | 2024-09-23 17:53:06.331254+00 |
| description | Transparently adds Vim-like HJKL controls to any Cursive view |
| homepage | |
| repository | https://github.com/gamma-delta/cursive-hjkl |
| max_upload_size | |
| id | 1236187 |
| size | 5,034 |
cursive-hjklTransparently wraps any cursive View with hjkl controls.
Specifically, the wrapper listens for HJKL keys, and if the inner view doesn't respond to them, it re-sends an event with arrow keys instead. Because it spoofs arrow keys, it should Just Work on a lot of pre-existing views.
I wrote this for ttyloop.