Vim mode: make motion::EndOfLine works with times. (#8591)

Release Notes:

- Fixed `$` in Vim mode not taking a numeric argument (i.e. `2$` or
`4$`) ([#8007](https://github.com/zed-industries/zed/issues/8007)).

---------

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
This commit is contained in:
Wind 2024-03-01 21:00:31 +08:00 committed by GitHub
parent aeed9d0d8b
commit 9723ca95e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 58 additions and 7 deletions

View file

@ -0,0 +1,9 @@
{"Put":{"state":"ˇaa\nbb\ncc"}}
{"Key":"$"}
{"Get":{"state":"aˇa\nbb\ncc","mode":"Normal"}}
{"Key":"2"}
{"Key":"$"}
{"Get":{"state":"aa\nbˇb\ncc","mode":"Normal"}}
{"Key":"4"}
{"Key":"$"}
{"Get":{"state":"aa\nbb\ncˇc","mode":"Normal"}}