jesseduffield.lazygit/pkg
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 Change a-enter keybinding to m-enter on mac, and c-enter elsewhere 2026-04-30 22:22:53 +02:00
cheatsheet Render every key for a binding in the cheatsheet 2026-05-25 15:18:18 +02:00
commands Optimize regex compilations 2026-05-10 15:28:14 +02:00
common Move NewDummyCommon to pkg/common 2025-05-06 09:43:26 +02:00
config Allow rebinding the confirm key for search and prompt 2026-05-26 09:19:41 -07:00
constants Make the links in the status panel point to the current version rather than master 2024-03-22 08:13:59 +01:00
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes Modernize all codes 2025-11-15 10:46:23 +01:00
gocui Convert keybinding fields to Keybinding 2026-05-25 15:32:47 +02:00
gui Allow rebinding the confirm key for search and prompt 2026-05-26 09:19:41 -07:00
i18n If a menu entry has multiple keybindings, list them in a tooltip 2026-05-25 15:32:47 +02:00
integration Allow rebinding the confirm key for search and prompt 2026-05-26 09:19:41 -07:00
jsonschema Fold legacy quit-alt1 into the multi-key quit binding 2026-05-25 15:32:47 +02:00
logs Fix linter warnings about ignoring errors from bufio.Scanner 2026-05-03 16:57:24 +02:00
snake Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00
tasks Fix linter warnings about ignoring errors from bufio.Scanner 2026-05-03 16:57:24 +02:00
theme Copy gocui files into lazygit repo under pkg/gocui 2026-04-30 14:29:08 +02:00
updates Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
utils Make UnixToDateSmart timezone-deterministic 2026-05-02 17:59:27 +02:00