Files
zed/assets/keymaps/macos
Dmytro Danilenkov 4ba7d82f68 keymap: Fix cmd-o in macOS JetBrains keymap opening file dialog instead of project symbols (#66137)
## 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>
2026-11-05 08:56:32 +00:00
..
…