mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
The confirm action for the search/filter prompt and for text input prompts (e.g. naming a stash or a new branch) was hard-coded to <enter> in #4860, on the assumption that these wouldn't be remapped. That assumption turned out to be wrong: users who rebind universal.confirm to a key such as <c-j> could no longer confirm these two prompts. Add ConfirmSearch and ConfirmPrompt keybindings, following the existing pattern of context-specific confirm keys (confirmMenu, confirmSuggestion, confirmInEditor). Both default to <enter>, so behaviour is unchanged for users who don't remap them. Fixes #5510 |
||
|---|---|---|
| .. | ||
| 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 | ||
| user_config.go | ||
| user_config_validation.go | ||
| user_config_validation_test.go | ||