Fix dw at the end of a soft wrapped line (#13065)
Co-Authored-By: Richard <richard@zed.dev> Release Notes: - vim: Fixed behavior of `dw` at the end of a soft wrapped line Co-authored-by: Richard <richard@zed.dev>
This commit is contained in:
parent
e40c49a143
commit
45ae0dcc2d
3 changed files with 30 additions and 8 deletions
6
crates/vim/test_data/test_dw_eol.json
Normal file
6
crates/vim/test_data/test_dw_eol.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{"SetOption":{"value":"wrap"}}
|
||||
{"SetOption":{"value":"columns=12"}}
|
||||
{"Put":{"state":"twelve ˇchar twelve char\ntwelve char"}}
|
||||
{"Key":"d"}
|
||||
{"Key":"w"}
|
||||
{"Get":{"state":"twelve ˇtwelve char\ntwelve char","mode":"Normal"}}
|
Loading…
Add table
Add a link
Reference in a new issue