-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
Description
It would be great to be able to fully customise the key bindings. Currently, everything is hardcoded, which makes it difficult to remember what each key does. This becomes more problematic when used in combination with other TUI applications, such as neovim.
Changes
The following changes to the application are expected
- Change the actions of every view such that the keys can be read from a toml (?) file
- Change the hints to show the right character
Implementation
Tuirealm supports the Serde deserialiser (https://docs.rs/tuirealm/latest/tuirealm/event/struct.KeyEvent.html#impl-Deserialize::for::KeyEvent). The simplest implementation would be to use a TOML implementation of Serde, since TOML is used for other settings.
It would also probably make sense to move all the bindings to a struct that derives from Default, so that a missing configuration file does not cause the application to break.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
new featureNew feature or requestNew feature or request