vim: Support paste with count (#11621)
Fixes: #10842 Release Notes: - vim: Fix pasting with a count (#10842)
This commit is contained in:
parent
bca639bda9
commit
aa5113cd92
2 changed files with 52 additions and 1 deletions
13
crates/vim/test_data/test_paste_count.json
Normal file
13
crates/vim/test_data/test_paste_count.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{"Put":{"state":"onˇe\ntwo\nthree\n"}}
|
||||
{"Key":"y"}
|
||||
{"Key":"y"}
|
||||
{"Key":"3"}
|
||||
{"Key":"p"}
|
||||
{"Get":{"state":"one\nˇone\none\none\ntwo\nthree\n","mode":"Normal"}}
|
||||
{"Put":{"state":"one\nˇtwo\nthree\n"}}
|
||||
{"Key":"y"}
|
||||
{"Key":"$"}
|
||||
{"Key":"$"}
|
||||
{"Key":"3"}
|
||||
{"Key":"p"}
|
||||
{"Get":{"state":"one\ntwotwotwotwˇo\nthree\n","mode":"Normal"}}
|
Loading…
Add table
Add a link
Reference in a new issue