mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-11 16:16:28 -04:00
JumpToBlock is special: each of its 5 elements is the binding for one side window (status / files / branches / commits / stash), not an alternate for a single command. Change the field from []string to []Keybinding so each window slot can have alternates of its own. The schema becomes "an array of 5 keybindings, each itself a string or array of strings", which falls out cleanly from how the Keybinding type inlines into the generated schema. Existing configs (a flat array of 5 strings) keep validating because each element is unmarshalled through Keybinding's scalar-or-sequence decoder. |
||
|---|---|---|
| .. | ||
| accordion.go | ||
| disable_switch_tab_with_panel_jump_keys.go | ||
| empty_menu.go | ||
| keybinding_suggestions_when_switching_repos.go | ||
| mode_specific_keybinding_suggestions.go | ||
| open_link_failure.go | ||
| range_select.go | ||
| switch_tab_from_menu.go | ||
| switch_tab_with_panel_jump_keys.go | ||