Files
oak-gpui/crates
ElKowar 7f81bfb6b7 Make keymaps reusable across platforms (#10811)
This PR includes two relevant changes:
- Platform binds (super, windows, cmd) will now parse on all platforms,
regardless of which one is being used. While very counter-intuitive
(this means that `cmd-d` will actually be triggered by `win-d` on
windows) this makes it possible to reuse keymap files across platforms
easily
- There is now a KeyContext `os == linux`, `os == macos` or `os ==
windows` available in keymaps. This allows users to specify certain
blocks of keybinds only for one OS, allowing you to minimize the amount
of keymappings that you have to re-configure for each platform.

Release Notes:

- Added `os` KeyContext, set to either `linux`, `macos` or `windows`
- Fixed keymap parsing errors when `cmd` was used on linux, `super` was
used on mac, etc.
2024-04-22 13:24:25 -07:00
..
2024-04-11 15:36:35 -06:00
2024-04-12 11:40:59 -06:00
2024-03-28 18:32:11 +01:00
2024-04-11 15:36:35 -06:00
2024-04-11 23:09:12 +02:00
2024-03-20 15:52:02 +01:00
2024-04-11 15:36:35 -06:00
2024-04-11 23:09:12 +02:00
2024-03-11 10:45:57 +01:00
2024-04-11 23:09:12 +02:00
2024-04-11 23:09:12 +02:00
2024-03-26 16:10:09 -07:00
2024-04-12 11:40:59 -06:00
2024-03-14 17:05:07 -04:00
2024-04-11 23:09:12 +02:00
2024-04-15 14:21:52 +02:00
2024-04-11 10:03:36 -04:00
2024-04-11 23:09:12 +02:00