jesseduffield.lazygit/pkg/integration/tests/demo
Stefan Haller fbcf562e29 Convert custom command Key fields to Keybinding
CustomCommand.Key and CustomCommandMenuOption.Key are user-configured
keybindings just like the built-in ones. Converting them to the Keybinding type
lets a user assign multiple keys to the same custom command, e.g. `key: [a, b]`,
the same way they would for any other keybinding.

The validator iterates over the elements rather than checking a single string,
the binding registration goes through GetValidatedKeyBindingKeys to register
every alternate, and the existing error messages use .String() so a multi-key
binding renders sensibly.

CustomCommandPrompt.Key (a form field name, not a keybinding) stays a plain
string.
2026-05-25 15:32:47 +02:00
..
amend_old_commit.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
bisect.go Default to half-screen mode when filtering files or using the git-arg CLI arg 2025-01-02 16:10:58 +11:00
cherry_pick.go Add number of commits to cherry-pick confirmation prompt 2025-01-08 21:08:42 -08:00
commit_and_push.go Factor out common config setup functions in demo package 2023-08-12 16:52:40 +10:00
commit_graph.go Default to half-screen mode when filtering files or using the git-arg CLI arg 2025-01-02 16:10:58 +11:00
custom_command.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
custom_patch.go Enable hunk staging mode by default 2025-08-01 10:35:16 +02:00
diff_commits.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
filter.go Factor out common config setup functions in demo package 2023-08-12 16:52:40 +10:00
interactive_rebase.go Default to half-screen mode when filtering files or using the git-arg CLI arg 2025-01-02 16:10:58 +11:00
nuke_working_tree.go Default to half-screen mode when filtering files or using the git-arg CLI arg 2025-01-02 16:10:58 +11:00
rebase_onto.go fix: update rebase_onto demo test to match new rebase menu title 2024-06-05 01:38:08 +02:00
shared.go Fix typos 2025-01-03 10:50:36 +11:00
stage_lines.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
undo.go Support range select in rebase actions 2024-01-23 17:23:56 +11:00
worktree_create_from_branches.go Factor out common config setup functions in demo package 2023-08-12 16:52:40 +10:00