vim: ? to search backwards, and /<enter> to repeat search

This commit is contained in:
Conrad Irwin 2023-07-06 13:21:01 -06:00
parent d70f415e8e
commit 6cf13c62d1
5 changed files with 106 additions and 21 deletions

View file

@ -97,7 +97,7 @@ async fn test_buffer_search(cx: &mut gpui::TestAppContext) {
});
search_bar.read_with(cx.cx, |bar, cx| {
assert_eq!(bar.query_editor.read(cx).text(cx), "jumps");
assert_eq!(bar.query_editor.read(cx).text(cx), "");
})
}