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 14:00:31 +01:00
committed by GitHub
co-authored by Thorsten Ball
parent aeed9d0d8b
commit 9723ca95e3
4 changed files with 58 additions and 7 deletions
@@ -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"}}