Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add emacs keybinds for previous/next/cancel in search (#21921)

Peter Tripp91b02a625962
diff --git a/assets/keymaps/macos/emacs.json b/assets/keymaps/macos/emacs.json
index 64fb3f08316..c243aadfa83 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": {