vim: Fix %s replace not working more than twice (#12045)

close: #11981 

Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
CharlesChen0823
2024-05-20 19:17:11 -06:00
committed by GitHub
co-authored by Conrad Irwin
parent f2357c71e1
commit 1e18bcb949
3 changed files with 25 additions and 4 deletions
@@ -10,3 +10,7 @@
{"Key":"b"}
{"Key":"enter"}
{"Get":{"state":"a\nb\nb\nb\nˇb\na\na\n ","mode":"Normal"}}
{"Key":"/"}
{"Key":"a"}
{"Key":"enter"}
{"Get":{"state":"a\nb\nb\nb\nb\nˇa\na\n ","mode":"Normal"}}