You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On any macOs,
seems to Zed catches all key-strokes including non-binded ones, e.g. 'cmd+shift+/' hotkey by-default have to focus app-menu/help- search-text-field.
I have no see anything like that in the Zed's key-bindings, but found 'cmd-/' (without shift) default hotkey, so problem may be there. Anyway, as I suppose, the possible way to fix it - to return the event from the key-event- handler (NSEvent) if hotkey not found (not binded), otherwise return nil (in cocoa that means "event accepted").
Steps to reproduce:
in the Zed unbind all hotkeys that catches 'cmd+shift+/'
anywhere in Zed press 'cmd+shift+/'
Expected result:
Actual result is nothing because Zed catches the event.
I was wrong, 🤦🏻♂️sorry. Zed correctly returning not-matched (not catched) events, so problem is simpler - just default hotkey "cmd-?": "assistant::ToggleFocus"which conflicts with default in macOs.
I've found workaround. Just remap in user's key-bindings
from "cmd-?": "assistant::ToggleFocus" to "cmd-?": null.
Now please interpret this issue as request to change conflicting default hotkey.
Check for existing issues
Describe the bug / provide steps to reproduce it
On any macOs,
seems to Zed catches all key-strokes including non-binded ones, e.g. 'cmd+shift+/' hotkey by-default have to focus app-menu/help- search-text-field.
I have no see anything like that in the Zed's key-bindings, but found 'cmd-/' (without shift) default hotkey, so problem may be there. Anyway, as I suppose, the possible way to fix it - to return the
event
from the key-event- handler (NSEvent) if hotkey not found (not binded), otherwise returnnil
(in cocoa that means "event accepted").Steps to reproduce:
Expected result:
Actual result is nothing because Zed catches the event.
Zed Version and System Specs
Zed: v0.166.1 (Zed)
OS: macOS 14.7.1
Memory: 16 GiB
Architecture: aarch64
The text was updated successfully, but these errors were encountered: