vim: fix t not being repeatable with , (#7007)

This fixes `t` not being repeatable with `,` and `;` in normal mode.

Release Notes:

- Fixed `t` in Vim mode not being repeatable with `,` or `;`.

---------

Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
Thorsten Ball 2024-01-30 09:17:19 +01:00 committed by GitHub
parent 843916d585
commit cddc0fbf92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 113 additions and 50 deletions

View file

@ -7,6 +7,23 @@
{"Key":"2"}
{"Key":";"}
{"Get":{"state":"one two three fˇour","mode":"Normal"}}
{"Key":"shift-f"}
{"Key":"e"}
{"Get":{"state":"one two threˇe four","mode":"Normal"}}
{"Key":"2"}
{"Key":";"}
{"Get":{"state":"onˇe two three four","mode":"Normal"}}
{"Key":","}
{"Get":{"state":"one two thrˇee four","mode":"Normal"}}
{"Put":{"state":"ˇone two three four"}}
{"Key":"t"}
{"Key":"o"}
{"Get":{"state":"one tˇwo three four","mode":"Normal"}}
{"Key":","}
{"Get":{"state":"oˇne two three four","mode":"Normal"}}
{"Key":"2"}
{"Key":";"}
{"Get":{"state":"one two three ˇfour","mode":"Normal"}}
{"Key":"shift-t"}
{"Key":"e"}
{"Get":{"state":"one two threeˇ four","mode":"Normal"}}