diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-15 04:42:54 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-15 04:42:54 +0300 |
| commit | a0678a38b9426b011f66e1b88ff7aaa9bf877104 (patch) | |
| tree | 55fa9d4f70b271ebb480e3a8a185db311e513d19 /src | |
| parent | 2bd334b357d99b4b8853596433fc4a43bbb4658e (diff) | |
docs: add popup pane usage examples
refs #1125
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 6 |
1 files changed, 5 insertions, 1 deletions
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. |
