aboutsummaryrefslogtreecommitdiff
path: root/src/ui/keybind_help.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-15 20:31:01 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-15 20:31:01 +0300
commit4cbe72ec2d8a174e3c4f9bde2101aa189c7f38e7 (patch)
tree2de696538e494d3c14a920c20877bcd6d4ac39dc /src/ui/keybind_help.rs
parent43d60fc6629d222ae63813ebcf4531067ba5bc9d (diff)
feat: add indexed keybind families
Diffstat (limited to 'src/ui/keybind_help.rs')
-rw-r--r--src/ui/keybind_help.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ui/keybind_help.rs b/src/ui/keybind_help.rs
index dbeba345..ccc32c5c 100644
--- a/src/ui/keybind_help.rs
+++ b/src/ui/keybind_help.rs
@@ -69,10 +69,18 @@ pub(super) fn keybind_help_groups(
"next workspace",
),
(
+ optional_keybind_label(&kb.indexed_workspaces_label),
+ "switch workspace 1-9",
+ ),
+ (
optional_keybind_label(&kb.previous_agent_label),
"previous agent",
),
(optional_keybind_label(&kb.next_agent_label), "next agent"),
+ (
+ optional_keybind_label(&kb.indexed_agents_label),
+ "focus agent 1-9",
+ ),
(kb.new_tab_label.clone(), "new tab"),
(optional_keybind_label(&kb.rename_tab_label), "rename tab"),
(
@@ -80,6 +88,10 @@ pub(super) fn keybind_help_groups(
"previous tab",
),
(optional_keybind_label(&kb.next_tab_label), "next tab"),
+ (
+ optional_keybind_label(&kb.indexed_tabs_label),
+ "switch tab 1-9",
+ ),
(optional_keybind_label(&kb.close_tab_label), "close tab"),
];
if let Some(label) = &kb.detach_label {