mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 23:20:18 +01:00
4ba7d82f68
## Summary Closes #66136 With the JetBrains keymap on macOS, cmd-o opens the file dialog instead of expected symbol search. The fix: unbind the inherited Open with zed::Unbind, like linux/emacs.json does for ctrl-n/ctrl-p. so after fix File > Open no longer shows cmd-o ## Testing - added test_jetbrains_project_symbol_shortcuts_override_open. Also added shared helped in tests for similar case with emacs. - manually tested on macOS. ran cargo run, choose jetbrains keymap on startup, and voila cmd-o opens symbols. ## Self-review - [x] I've reviewed my diff for quality, security, reliability, and performance. - [x] UI changes follow the [checklist](https://zed.dev/docs/development/ui-checklist). - [x] Tests cover the new or changed behavior. Release Notes: - Fixed `cmd-o` opening the file dialog instead of project symbol search when using the JetBrains keymap on macOS. --------- Co-authored-by: Kirill Bulatov <mail4score@gmail.com>