vim: Fix issues with r/R (#13623)

Release Notes:

- vim: Fix undo after repeated insert/replace mode (#13573)
- vim: Fix 'r' repeating too much (#13566)
This commit is contained in:
Conrad Irwin 2024-06-27 21:54:34 -06:00 committed by GitHub
parent 363ac6bc96
commit da03610555
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 96 additions and 60 deletions

View file

@ -22,3 +22,10 @@
{"Key":"w"}
{"Key":"."}
{"Get":{"state":"--llo -ˇ-rld\n","mode":"Normal"}}
{"Put":{"state":"ˇhello world\n"}}
{"Key":"2"}
{"Key":"0"}
{"Key":"r"}
{"Key":"-"}
{"Key":""}
{"Get":{"state":"ˇhello world\n","mode":"Normal"}}

View file

@ -0,0 +1,8 @@
{"Put":{"state":"hellˇo"}}
{"Key":"3"}
{"Key":"a"}
{"Key":"."}
{"Key":"escape"}
{"Get":{"state":"hello..ˇ.","mode":"Normal"}}
{"Key":"u"}
{"Get":{"state":"hellˇo","mode":"Normal"}}