@@ -2427,11 +2427,11 @@ impl ui::menu::Item for MappableCommand {
24272427
24282428 match self {
24292429 MappableCommand::Typable { doc, name, .. } => match keymap.get(name as &String) {
2430− Some(bindings) => format!("{} ({})", doc, fmt_binding(bindings)).into(),
2430+ Some(bindings) => format!("{} ({}) [{}]", doc, fmt_binding(bindings), name).into(),
24312431 None => doc.as_str().into(),
24322432 },
24332433 MappableCommand::Static { doc, name, .. } => match keymap.get(*name) {
2434− Some(bindings) => format!("{} ({})", doc, fmt_binding(bindings)).into(),
2434+ Some(bindings) => format!("{} ({}) [{}]", doc, fmt_binding(bindings), name).into(),
24352435 None => (*doc).into(),
24362436 },
24372437 }