From b9d2dafb7d91514044f113dab96a836817733347 Mon Sep 17 00:00:00 2001 From: Omnikar Date: Sun, 26 Dec 2021 22:38:01 -0500 Subject: [PATCH] Update `help` to parse keypresses like a macro --- helix-term/src/commands.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index e34cec477..3e85fe48e 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -2688,10 +2688,7 @@ pub mod cmd { { &args[0] } else { - let _keys = args - .iter() - .map(|key| key.parse::()) - .collect::, _>>()?; + let _keys = helix_view::input::parse_macro(&args[0])?; // TODO: Need to access the keymap here to find the corresponding command todo!() }