diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs index 77a8bc586..f47160e73 100644 --- a/helix-term/src/keymap.rs +++ b/helix-term/src/keymap.rs @@ -84,7 +84,7 @@ impl KeyTrieNode { cmd.doc() } KeyTrie::Node(n) => &n.name, - KeyTrie::Sequence(..) => KeyTrie::DEFAULT_SEQUENCE_LABEL, + KeyTrie::Sequence(l, ..) => l, }; match body.iter().position(|(_, d)| d == &desc) { Some(pos) => {