Fix some edge-cases in vim visual delete (#12131)

Release Notes:

- vim: Fixed `shift-d` in visual and visual block mode.
This commit is contained in:
Conrad Irwin 2024-05-22 12:54:41 -06:00 committed by GitHub
parent c084b6aade
commit c2f650fe49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 66 additions and 6 deletions

View file

@ -0,0 +1,10 @@
{"Put":{"state":"The ˇquick brown\nfox jumps over\nthe lazy dog\n"}}
{"Key":"v"}
{"Key":"down"}
{"Key":"shift-d"}
{"Get":{"state":"the ˇlazy dog\n","mode":"Normal"}}
{"Put":{"state":"The ˇquick brown\nfox jumps over\nthe lazy dog\n"}}
{"Key":"ctrl-v"}
{"Key":"down"}
{"Key":"shift-d"}
{"Get":{"state":"Theˇ \nfox \nthe lazy dog\n","mode":"Normal"}}