Files
oak-gpui/crates
Ben Kunkle 21b4a2ecdd keymap_ui: Infer use key equivalents (#34498)
Closes #ISSUE

This PR attempts to add workarounds for `use_key_equivalents` in the
keymap UI. First of all it makes it so that `use_key_equivalents` is
ignored when searching for a binding to replace so that replacing a
keybind with `use_key_equivalents` set to true does not result in a new
binding. Second, it attempts to infer the value of `use_key_equivalents`
off of a base binding when adding a binding by adding an optional `from`
parameter to the `KeymapUpdateOperation::Add` variant. Neither
workaround will work when the `from` binding for an add or the `target`
binding for a replace are not in the user keymap.

cc: @Anthony-Eid 

Release Notes:

- N/A *or* Added/Fixed/Improved ...
2025-07-16 10:49:16 -04:00
..
2025-07-16 01:15:45 -03:00
2025-06-17 20:26:27 +00:00
2025-07-08 14:34:57 +00:00
2025-07-09 16:02:31 +00:00
2025-07-12 11:48:19 -03:00
2025-07-16 01:15:45 -03:00
2025-07-15 13:45:59 +00:00