Release Notes:

- vim: Fix `gi` when the insert ended at the end of a line (#12162)
- vim: Add `gv` to restore previous visual selection (#12888)
- vim: Fix `gl` when the first match is at the end of a line
This commit is contained in:
Conrad Irwin 2024-06-14 10:16:59 -06:00 committed by GitHub
parent 3539a7c04a
commit 3b84b106e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 239 additions and 49 deletions

View file

@ -24,3 +24,12 @@
{"Key":"`"}
{"Key":"^"}
{"Get":{"state":"Line one\nLine two\nLine three\nStraight thingˇ four\nLine five\n","mode":"Normal"}}
{"Key":"k"}
{"Key":"a"}
{"Key":"!"}
{"Key":"escape"}
{"Key":"k"}
{"Key":"g"}
{"Key":"i"}
{"Key":"?"}
{"Get":{"state":"Line one\nLine two\nLine three!?ˇ\nStraight thing four\nLine five\n","mode":"Insert"}}

View file

@ -0,0 +1,24 @@
{"Put":{"state":"The ˇquick brown"}}
{"Key":"v"}
{"Key":"i"}
{"Key":"w"}
{"Key":"escape"}
{"Key":"g"}
{"Key":"v"}
{"Get":{"state":"The «quickˇ» brown","mode":"Visual"}}
{"Key":"o"}
{"Key":"escape"}
{"Key":"g"}
{"Key":"v"}
{"Get":{"state":"The «ˇquick» brown","mode":"Visual"}}
{"Key":"escape"}
{"Key":"^"}
{"Key":"ctrl-v"}
{"Key":"l"}
{"Get":{"state":"«Thˇ»e quick brown","mode":"VisualBlock"}}
{"Key":"g"}
{"Key":"v"}
{"Get":{"state":"The «ˇquick» brown","mode":"Visual"}}
{"Key":"g"}
{"Key":"v"}
{"Get":{"state":"«Thˇ»e quick brown","mode":"VisualBlock"}}

View file

@ -16,3 +16,14 @@
{"Key":"`"}
{"Key":">"}
{"Get":{"state":"Line one\nLine two\nLine three\nLine ˇfour\nLine five\n","mode":"Normal"}}
{"Key":"v"}
{"Key":"i"}
{"Key":"w"}
{"Key":"o"}
{"Key":"escape"}
{"Key":"`"}
{"Key":">"}
{"Get":{"state":"Line one\nLine two\nLine three\nLine fouˇr\nLine five\n","mode":"Normal"}}
{"Key":"`"}
{"Key":"<"}
{"Get":{"state":"Line one\nLine two\nLine three\nLine ˇfour\nLine five\n","mode":"Normal"}}