aboutsummaryrefslogtreecommitdiff
path: root/src/ui/keybind_help.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-24 03:37:41 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-24 03:41:16 +0300
commit26205a2ac5e21053bd94a0925efcfca44c6f549b (patch)
tree530fdd445bedadb521759fa89792b98aaf0e3f39 /src/ui/keybind_help.rs
parentc5b3997f3b7d334bd2f35c7aee5216236b58193e (diff)
feat: make navigate movement keybinds configurable
refs #193
Diffstat (limited to 'src/ui/keybind_help.rs')
-rw-r--r--src/ui/keybind_help.rs20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/ui/keybind_help.rs b/src/ui/keybind_help.rs
index c1f0fa74..21f4baed 100644
--- a/src/ui/keybind_help.rs
+++ b/src/ui/keybind_help.rs
@@ -69,8 +69,24 @@ pub(super) fn keybind_help_groups(
"navigation",
vec![
("esc".to_string(), "back"),
- ("↑ / ↓".to_string(), "workspace list"),
- ("h j k l / arrows".to_string(), "move focus"),
+ (
+ format!(
+ "{} / {}",
+ keybind_label(&kb.navigate.workspace_up),
+ keybind_label(&kb.navigate.workspace_down)
+ ),
+ "workspace list",
+ ),
+ (
+ format!(
+ "{} / {} / {} / {} / left / right",
+ keybind_label(&kb.navigate.pane_left),
+ keybind_label(&kb.navigate.pane_down),
+ keybind_label(&kb.navigate.pane_up),
+ keybind_label(&kb.navigate.pane_right)
+ ),
+ "move focus",
+ ),
("tab / shift+tab".to_string(), "cycle pane"),
("enter".to_string(), "open workspace"),
("1..9".to_string(), "switch workspace"),