vim: Support paste with count (#11621)

Fixes: #10842



Release Notes:

- vim: Fix pasting with a count (#10842)
This commit is contained in:
Conrad Irwin
2024-05-09 16:12:59 -06:00
committed by GitHub
parent bca639bda9
commit aa5113cd92
2 changed files with 52 additions and 1 deletions
@@ -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"}}