Maybe also related to #1, I'd like a new feature to declare its own key binding. For example, I'd like to define in search.rs that that / key will open search.
Currently, I have a single function for every view (text, hex) such as
|
pub fn hex_mode_events(app: &mut App, key: KeyEvent) -> Result<bool> { |
It's not THAT bad IMHO, but can it be better?
Maybe also related to #1, I'd like a new feature to declare its own key binding. For example, I'd like to define in search.rs that that
/key will open search.Currently, I have a single function for every view (text, hex) such as
dz6/src/hex/events.rs
Line 12 in 918d9a4
It's not THAT bad IMHO, but can it be better?