Open oreid-zd opened 1 month ago
Yes, I agree that this feature is important. I'd like to implement it, but I haven't started yet.
Thanks @lusingander! I haven't written much Rust but could give it a crack if you'd accept a PR?
Thanks for showing interest in this project!
I think it might help to take a look at the custom keybinding implementations from another TUI project of mine:
Basically, I think the implementation should follow a similar approach. But there are a few things to keep in mind:
If you're planning to submit a PR, it might be a good idea to split it into two steps:
config.toml
or keybindings.toml
, so users can set their own.Feel free to reach out if you have any questions or need help along the way.
Would be great to be able to remap key bindings via environment variables or something.
Thanks!