aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-03-28 04:29:37 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-03-28 04:29:37 +0300
commitf18f26d1c0fd8101baee946f71bdd77b9743df41 (patch)
tree0fd096fe8c6acd069209ec8ff340a0d0f0921966 /src/main.rs
parent6a4315c4ee563b515c2b775df8d78d242d680ced (diff)
fix prefix key defaults and binding parsing
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 5659a386..8f23287d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -64,8 +64,12 @@ const DEFAULT_CONFIG: &str = r#"# herdr configuration
# Place this file at ~/.config/herdr/config.toml
[keys]
-# Prefix key to enter navigate mode (e.g. "ctrl+s", "ctrl+a", "ctrl+b")
-# prefix = "ctrl+s"
+# Prefix key to enter navigate mode (default: "ctrl+b")
+# Examples: "ctrl+b", "f12", "esc", "-"
+# Accepted syntax: plain keys, ctrl/shift/alt modifiers, and special keys like enter/tab/esc
+# Most reliable bindings are plain keys, ctrl+letter, esc/tab/enter, and function keys.
+# alt+... and punctuation-with-modifiers may depend on your terminal/tmux setup.
+# prefix = "ctrl+b"
# Pane controls (in navigate mode)
# split_vertical = "v"