Files
lazygit/pkg
Stefan Haller 06b8d5a1e4 Add Keybinding type that accepts a string or a sequence of strings
Each user-configurable keybinding is currently a single string in the YAML
config. To let users assign alternate keys to a command, introduce a Keybinding
type that decodes from either a scalar (the existing single-key form, kept for
backward compatibility and for a simpler config file) or a sequence of strings.
Marshalling collapses single-element slices back to a scalar so configs and
generated docs round-trip cleanly.

JSONSchema describes the type as a oneOf union so editors validate either form;
subsequent commits will inline the union into the generated schema and start
using Keybinding as the field type.
2026-05-25 15:18:18 +02:00
..
2026-05-10 15:28:14 +02:00
2025-05-06 09:43:26 +02:00
2025-11-15 10:46:23 +01:00
2026-05-25 15:18:18 +02:00
2026-05-25 15:18:18 +02:00
2025-11-15 10:46:23 +01:00