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:
parent
363ac6bc96
commit
da03610555
5 changed files with 96 additions and 60 deletions
|
@ -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"}}
|
||||
|
|
8
crates/vim/test_data/test_undo_repeated_insert.json
Normal file
8
crates/vim/test_data/test_undo_repeated_insert.json
Normal 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"}}
|
Loading…
Add table
Add a link
Reference in a new issue