aboutsummaryrefslogtreecommitdiff
path: root/src/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.rs')
-rw-r--r--src/ui.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ui.rs b/src/ui.rs
index 8ea95a40..b78e366b 100644
--- a/src/ui.rs
+++ b/src/ui.rs
@@ -2541,6 +2541,16 @@ fn keybind_help_groups(app: &AppState) -> Vec<(&'static str, Vec<(String, &'stat
];
groups.push(("panes", panes));
+ if !kb.custom_commands.is_empty() {
+ groups.push((
+ "custom",
+ kb.custom_commands
+ .iter()
+ .map(|binding| (binding.label.clone(), "custom command"))
+ .collect(),
+ ));
+ }
+
groups
}