/cursive-hjkl

Transparently adds Vim-like HJKL controls to any Cursive view

Primary LanguageRustMIT LicenseMIT

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.