From 70d217a2a8e2efc59c03afe64695e69b3b4eea36 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sun, 10 May 2026 03:08:17 +0300 Subject: docs: document custom command keybindings --- src/main.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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 -- cgit v1.2.3