From a0678a38b9426b011f66e1b88ff7aaa9bf877104 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Wed, 15 Jul 2026 04:42:54 +0300 Subject: docs: add popup pane usage examples refs #1125 --- src/main.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 35c7b860..1e44b058 100644 --- a/src/main.rs +++ b/src/main.rs @@ -223,11 +223,15 @@ const DEFAULT_CONFIG: &str = r##"# herdr configuration # Custom commands use the same binding syntax. # type = "shell" runs detached in the background. # type = "pane" opens a temporary pane and closes it when the command exits. +# type = "popup" opens a session-modal terminal without changing the tab layout. +# Popup width and height accept terminal cells or percentages such as "80%". # On Windows, command strings run through cmd.exe /d /c. # [[keys.command]] # key = "prefix+alt+g" -# type = "pane" +# type = "popup" # command = "lazygit" +# width = "80%" +# height = "80%" # Legacy indexed shortcut config is still parsed for compatibility. # Prefer switch_tab, switch_workspace, and focus_agent for new configs. -- cgit v1.2.3