vim: Fix vim delete to line (#23053)

Closes #23024

Release Notes:

- Fixed Vim `dxG` delete to line

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
0x2CA 2025-01-14 11:07:47 +08:00 committed by GitHub
parent 93f117b21a
commit 03c99e39f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 51 additions and 1 deletions

View file

@ -0,0 +1,15 @@
{"Put":{"state":"The quick\nbrownˇ fox\njumps over\nthe lazy"}}
{"Key":"d"}
{"Key":"3"}
{"Key":"shift-g"}
{"Get":{"state":"The quick\nthe lˇazy","mode":"Normal"}}
{"Put":{"state":"The quick\nbrown fox\njumps over\nthe lˇazy"}}
{"Key":"d"}
{"Key":"3"}
{"Key":"shift-g"}
{"Get":{"state":"The quick\nbrownˇ fox","mode":"Normal"}}
{"Put":{"state":"The quick\nbrown fox\njumps over\nˇ"}}
{"Key":"d"}
{"Key":"2"}
{"Key":"shift-g"}
{"Get":{"state":"ˇThe quick","mode":"Normal"}}