mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-14 01:26:24 -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 |
||
|---|---|---|
| .. | ||
| config.json | ||