Crates.io | cursive-hjkl |
lib.rs | cursive-hjkl |
version | 0.2.0 |
source | src |
created_at | 2024-05-10 16:40:31.90434 |
updated_at | 2024-09-23 17:53:06.331254 |
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-hjkl
Transparently 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.