Fix some edge-cases in vim visual delete (#12131)
Release Notes: - vim: Fixed `shift-d` in visual and visual block mode.
This commit is contained in:
parent
c084b6aade
commit
c2f650fe49
3 changed files with 66 additions and 6 deletions
10
crates/vim/test_data/test_visual_shift_d.json
Normal file
10
crates/vim/test_data/test_visual_shift_d.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{"Put":{"state":"The ˇquick brown\nfox jumps over\nthe lazy dog\n"}}
|
||||
{"Key":"v"}
|
||||
{"Key":"down"}
|
||||
{"Key":"shift-d"}
|
||||
{"Get":{"state":"the ˇlazy dog\n","mode":"Normal"}}
|
||||
{"Put":{"state":"The ˇquick brown\nfox jumps over\nthe lazy dog\n"}}
|
||||
{"Key":"ctrl-v"}
|
||||
{"Key":"down"}
|
||||
{"Key":"shift-d"}
|
||||
{"Get":{"state":"Theˇ \nfox \nthe lazy dog\n","mode":"Normal"}}
|
Loading…
Add table
Add a link
Reference in a new issue