mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-15 06:40:17 +00:00
7f81bfb6b7
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. |
||
---|---|---|
.. | ||
app | ||
elements | ||
keymap | ||
platform | ||
text_system | ||
window | ||
action.rs | ||
app.rs | ||
arena.rs | ||
asset_cache.rs | ||
assets.rs | ||
bounds_tree.rs | ||
color.rs | ||
element.rs | ||
executor.rs | ||
geometry.rs | ||
gpui.rs | ||
input.rs | ||
interactive.rs | ||
key_dispatch.rs | ||
keymap.rs | ||
platform.rs | ||
prelude.rs | ||
scene.rs | ||
shared_string.rs | ||
shared_uri.rs | ||
style.rs | ||
styled.rs | ||
subscription.rs | ||
svg_renderer.rs | ||
taffy.rs | ||
test.rs | ||
text_system.rs | ||
util.rs | ||
view.rs | ||
window.rs |