vim: Fix increment/decrement command (#17644)

Improving vim increment and decrement command.

Closes: #16672

## Release Notes:

- vim: Improved edge-case handling for ctrl-a/ctrl-x

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
hekmyr
2024-09-18 18:28:31 -06:00
committed by GitHub
co-authored by Conrad Irwin
parent 43e005e936
commit c3f47b8040
7 changed files with 273 additions and 22 deletions
@@ -0,0 +1,10 @@
{"Put":{"state":"inline0x3ˇ9u32\n"}}
{"Key":"ctrl-a"}
{"Get":{"state":"inline0x3ˇau32\n","mode":"Normal"}}
{"Key":"ctrl-a"}
{"Get":{"state":"inline0x3ˇbu32\n", "mode":"Normal"}}
{"Key":"l"}
{"Key":"l"}
{"Key":"l"}
{"Key":"ctrl-a"}
{"Get":{"state":"inline0x3bu3ˇ3\n", "mode":"Normal"}}