mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
The number of side panels is about to become configurable, so a fixed count of jump-to-panel keys no longer makes sense: a user who configures six panels shouldn't be forced to also extend jumpToBlock, and one who hides a panel shouldn't have to trim it. Drop the count check entirely (individual keys are still validated) and assign keys to panels positionally, for as many panels as there are keys. Surplus panels go without a jump key but remain reachable via the next/previous-panel keys. This also removes the log.Fatal that the count check guarded against. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app_config.go | ||
| app_config_test.go | ||
| config_default_platform.go | ||
| config_linux.go | ||
| config_windows.go | ||
| dummies.go | ||
| editor_presets.go | ||
| editor_presets_test.go | ||
| keybinding.go | ||
| keybinding_test.go | ||
| keynames.go | ||
| keynames_test.go | ||
| pager_config.go | ||
| pager_config_test.go | ||
| side_panel.go | ||
| user_config.go | ||
| user_config_validation.go | ||
| user_config_validation_test.go | ||