aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-10 03:08:17 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-10 03:08:17 +0300
commit70d217a2a8e2efc59c03afe64695e69b3b4eea36 (patch)
tree6e8998bd2137623bdf1a7be1f084067ee7bff28d /src
parent9f210e973834700d14c6c0283ed750ed5b038e8b (diff)
docs: document custom command keybindings
Diffstat (limited to 'src')
-rw-r--r--src/main.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index c35a4084..2b8c76b6 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -103,6 +103,14 @@ const DEFAULT_CONFIG: &str = r##"# herdr configuration
# resize_mode = "r"
# toggle_sidebar = "b"
+# Custom prefix-mode commands. Press prefix, then the configured key.
+# type = "shell" runs detached in the background.
+# type = "pane" opens a temporary pane and closes it when the command exits.
+# [[keys.command]]
+# key = "g"
+# type = "pane"
+# command = "lazygit"
+
[ui]
# Sidebar width (auto-scaled based on workspace names, this sets the default)
# sidebar_width = 26