Fix search skipping in vim mode (#25580)
Closes #8049 Co-authored-by: nilehmann <nico.lehmannm@gmail.com> Co-authored-by: Anthony Eid <hello@anthonyeid.me> Release Notes: - vim: Fix skipping of search results occasionally Co-authored-by: nilehmann <nico.lehmannm@gmail.com> Co-authored-by: Anthony Eid <hello@anthonyeid.me>
This commit is contained in:
parent
dd1ff9b998
commit
33754f8eac
4 changed files with 60 additions and 12 deletions
12
crates/vim/test_data/test_search_skipping.json
Normal file
12
crates/vim/test_data/test_search_skipping.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{"Put":{"state":"ˇaa aa aa"}}
|
||||
{"Key":"/"}
|
||||
{"Key":"a"}
|
||||
{"Key":"a"}
|
||||
{"Key":"enter"}
|
||||
{"Get":{"state":"aa ˇaa aa","mode":"Normal"}}
|
||||
{"Key":"left"}
|
||||
{"Key":"/"}
|
||||
{"Key":"a"}
|
||||
{"Key":"a"}
|
||||
{"Key":"enter"}
|
||||
{"Get":{"state":"aa ˇaa aa","mode":"Normal"}}
|
7
crates/vim/test_data/test_v_search_aa.json
Normal file
7
crates/vim/test_data/test_v_search_aa.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{"Put":{"state":"ˇaa aa"}}
|
||||
{"Key":"v"}
|
||||
{"Key":"/"}
|
||||
{"Key":"a"}
|
||||
{"Key":"a"}
|
||||
{"Key":"enter"}
|
||||
{"Get":{"state":"«aa aˇ»a","mode":"Visual"}}
|
Loading…
Add table
Add a link
Reference in a new issue