From d6fcd9853adb9d69ea962c23f6074906ae6640a1 Mon Sep 17 00:00:00 2001 From: Vladimir Varankin Date: Tue, 5 Nov 2024 17:00:26 +0100 Subject: [PATCH] keymaps: Fix how single line editor handles new lines in BufferSearch (#19316) Updates JetBrains keymap to handle the `shift-enter` as the `SelectPrevMatch` action. --- assets/keymaps/macos/jetbrains.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/keymaps/macos/jetbrains.json b/assets/keymaps/macos/jetbrains.json index 3b72a40d83..1dd702f9f7 100644 --- a/assets/keymaps/macos/jetbrains.json +++ b/assets/keymaps/macos/jetbrains.json @@ -58,6 +58,12 @@ "alt-enter": "editor::ToggleCodeActions" } }, + { + "context": "BufferSearchBar > Editor", + "bindings": { + "shift-enter": "search::SelectPrevMatch" + } + }, { "context": "Workspace", "bindings": {