From 5101b3aa6a251f13fc3104b2990bd9aeef0d94dd Mon Sep 17 00:00:00 2001 From: Justin Su Date: Thu, 16 Apr 2026 02:11:51 -0400 Subject: [PATCH] Revert "Add ctrl-enter keybind (macOS) to type newline in search bars" (#52436) Reverts #50420 This was made redundant by https://github.com/zed-industries/zed/pull/50783. According to [this comment](https://github.com/zed-industries/zed/pull/50783#issuecomment-4002827488), the ctrl-enter keybind from the `Editor && mode == auto_height` context applies to the search bars now. Release Notes: - N/A --- assets/keymaps/default-macos.json | 7 ------- 1 file changed, 7 deletions(-) diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.json index 4121b376b5a142e298bc655ac8c925507aaeae6e..302225c87e369203b7593977695d6f606a76019f 100644 --- a/assets/keymaps/default-macos.json +++ b/assets/keymaps/default-macos.json @@ -479,13 +479,6 @@ "down": "search::NextHistoryQuery", }, }, - { - "context": "BufferSearchBar || ProjectSearchBar", - "use_key_equivalents": true, - "bindings": { - "ctrl-enter": "editor::Newline", - }, - }, { "context": "ProjectSearchBar", "use_key_equivalents": true,