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

Loading…
Cancel
Save