Update `help` to parse keypresses like a macro

pull/997/head
Omnikar 3 years ago
parent 9bcc8a6e74
commit b9d2dafb7d
No known key found for this signature in database
GPG Key ID: 7DE6694CDA7885ED

@ -2688,10 +2688,7 @@ pub mod cmd {
{
&args[0]
} else {
let _keys = args
.iter()
.map(|key| key.parse::<KeyEvent>())
.collect::<Result<Vec<KeyEvent>, _>>()?;
let _keys = helix_view::input::parse_macro(&args[0])?;
// TODO: Need to access the keymap here to find the corresponding command
todo!()
}

Loading…
Cancel
Save