From 91b02a62596208d188f6c98107a1cb447694794b Mon Sep 17 00:00:00 2001 From: Peter Tripp Date: Thu, 12 Dec 2024 14:50:54 +0000 Subject: [PATCH] Add emacs keybinds for previous/next/cancel in search (#21921) --- assets/keymaps/macos/emacs.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/assets/keymaps/macos/emacs.json b/assets/keymaps/macos/emacs.json index 64fb3f0831..c243aadfa8 100755 --- a/assets/keymaps/macos/emacs.json +++ b/assets/keymaps/macos/emacs.json @@ -53,6 +53,14 @@ "shift shift": "file_finder::Toggle" } }, + { + "context": "BufferSearchBar > Editor", + "bindings": { + "ctrl-s": "search::SelectNextMatch", + "ctrl-r": "search::SelectPrevMatch", + "ctrl-g": "buffer_search::Dismiss" + } + }, { "context": "Pane", "bindings": {