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.

Bind cycle_mode action

Piotr Osiewicz69e01e67dcba
diff --git a/crates/search2/src/buffer_search.rs b/crates/search2/src/buffer_search.rs
index 4e8584b8044..7f2d2b09101 100644
--- a/crates/search2/src/buffer_search.rs
+++ b/crates/search2/src/buffer_search.rs
@@ -203,6 +203,7 @@ impl Render for BufferSearchBar {
})
.on_action(Self::select_next_match)
.on_action(Self::select_prev_match)
+ .on_action(Self::cycle_mode)
.w_full()
.p_1()
.child(