malformed keymap.json should trigger error on startup #20531
Labels
bug
[core label]
keymap / key binding
Feedback for keyboard shortcuts, key mapping, etc
setting
Feedback for preferences, configuration, etc
Check for existing issues
Describe the bug / provide steps to reproduce it
I got stumped for a while since I had this in my keyboard binding keymap.json file:
This caused all bindings to stop working in the terminal. Instead the terminal receives the keys (as seen in the screenshot).
screenshot
Changing this to just the string (instead of wrapped in the array braces) fixes the issue. It was just really tough to track down, I really thought something was horribly wrong.
Environment
Zed: v0.160.7 (Zed)
OS: macOS 14.6.1
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: