jesseduffield.lazygit/pkg
Stefan Haller ee94e215e7 Remove dead Modifier field from keybindings
Modifiers were moved into Key in 22169e22f, but the separate Modifier field
on types.Binding and gocui.keybinding was left behind. The keypress matcher
already compares modifiers via Key.Equals, so the old field is never read on
the dispatch path; it just got passed through SetKeybinding and stored.

Drop it from gocui.keybinding, types.Binding, and the SetKeybinding /
DeleteKeybinding signatures, and remove every now-redundant Modifier:
gocui.ModNone struct field. Mouse bindings keep their own Modifier (on
ViewMouseBinding) since that path still consults it.
2026-05-06 09:51:23 +02:00
..
app Change a-enter keybinding to m-enter on mac, and c-enter elsewhere 2026-04-30 22:22:53 +02:00
cheatsheet Remove the keybindings legend in the cheatsheets 2026-04-30 22:38:53 +02:00
commands Add PushUrls field to models.Remote 2026-05-04 13:09:47 +02:00
common Move NewDummyCommon to pkg/common 2025-05-06 09:43:26 +02:00
config Revert the change of <ctrl+j>/<ctrl+k> to <alt+down>/<alt+up> 2026-05-04 18:17:37 +02: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 Remove dead Modifier field from keybindings 2026-05-06 09:51:23 +02:00
gui Remove dead Modifier field from keybindings 2026-05-06 09:51:23 +02:00
i18n Revert the change of <ctrl+j>/<ctrl+k> to <alt+down>/<alt+up> 2026-05-04 18:17:37 +02:00
integration Remove dead Modifier field from keybindings 2026-05-06 09:51:23 +02:00
jsonschema Modernize all codes 2025-11-15 10:46:23 +01: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