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:
parent
aeed9d0d8b
commit
9723ca95e3
4 changed files with 58 additions and 7 deletions
9
crates/vim/test_data/test_end_of_line_with_neovim.json
Normal file
9
crates/vim/test_data/test_end_of_line_with_neovim.json
Normal 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"}}
|
Loading…
Add table
Add a link
Reference in a new issue