jesseduffield.lazygit/pkg/config
mokashang 65b69016b0 Allow rebinding the confirm key for search and prompt
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
2026-05-26 09:19:41 -07:00
..
app_config.go Fold legacy quit-alt1 into the multi-key quit binding 2026-05-25 15:32:47 +02:00
app_config_test.go Add config migration of paging section to pagers array 2025-10-14 12:17:13 +02:00
config_default_platform.go Clean up build tags 2025-08-14 20:40:44 +02:00
config_linux.go Fix opening links containing ampersands (&) in WSL 2024-12-04 09:43:30 +01:00
config_windows.go Change OpenCommand to Open and OpenLinkCommand to OpenLink 2023-04-13 13:14:00 +02:00
dummies.go Fold legacy quit-alt1 into the multi-key quit binding 2026-05-25 15:32:47 +02:00
editor_presets.go fix(config): add Nushell support for nvim-remote preset 2026-02-07 09:00:10 +01:00
editor_presets_test.go Fix nvim-remote commands for fish shell 2025-04-27 20:12:11 +02:00
keybinding.go Fold legacy quit-alt1 into the multi-key quit binding 2026-05-25 15:32:47 +02:00
keybinding_test.go Fold legacy quit-alt1 into the multi-key quit binding 2026-05-25 15:32:47 +02:00
keynames.go Convert keybinding fields to Keybinding 2026-05-25 15:32:47 +02:00
keynames_test.go Change keybinding syntax to spell out full modifier names, and use + instead of - 2026-04-30 22:38:53 +02:00
pager_config.go Replace paging config with an array of pagers 2025-10-14 12:17:13 +02:00
user_config.go Allow rebinding the confirm key for search and prompt 2026-05-26 09:19:41 -07:00
user_config_validation.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
user_config_validation_test.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00