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:
Conrad Irwin 2025-02-25 23:29:54 -07:00 committed by GitHub
parent dd1ff9b998
commit 33754f8eac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 60 additions and 12 deletions

View 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"}}

View 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"}}