Make vim visual block work better
This commit is contained in:
parent
ab050d1890
commit
cb76b2a6ad
10 changed files with 85 additions and 32 deletions
5
crates/vim/test_data/test_visual_block_issue_2123.json
Normal file
5
crates/vim/test_data/test_visual_block_issue_2123.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{"Put":{"state":"The ˇquick brown\nfox jumps over\nthe lazy dog\n"}}
|
||||
{"Key":"ctrl-v"}
|
||||
{"Key":"right"}
|
||||
{"Key":"down"}
|
||||
{"Get":{"state":"The «quˇ»ick brown\nfox «juˇ»mps over\nthe lazy dog\n","mode":"VisualBlock"}}
|
15
crates/vim/test_data/test_wrapped_motions.json
Normal file
15
crates/vim/test_data/test_wrapped_motions.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{"SetOption":{"value":"wrap"}}
|
||||
{"SetOption":{"value":"columns=12"}}
|
||||
{"Put":{"state":"aaˇaa\n😃😃"}}
|
||||
{"Key":"j"}
|
||||
{"Get":{"state":"aaaa\n😃ˇ😃","mode":"Normal"}}
|
||||
{"Put":{"state":"123456789012aaˇaa\n123456789012😃😃"}}
|
||||
{"Key":"j"}
|
||||
{"Get":{"state":"123456789012aaaa\n123456789012😃ˇ😃","mode":"Normal"}}
|
||||
{"Put":{"state":"123456789012aaˇaa\n123456789012😃😃"}}
|
||||
{"Key":"j"}
|
||||
{"Get":{"state":"123456789012aaaa\n123456789012😃ˇ😃","mode":"Normal"}}
|
||||
{"Put":{"state":"123456789012aaaaˇaaaaaaaa123456789012\nwow\n123456789012😃😃😃😃😃😃123456789012"}}
|
||||
{"Key":"j"}
|
||||
{"Key":"j"}
|
||||
{"Get":{"state":"123456789012aaaaaaaaaaaa123456789012\nwow\n123456789012😃😃ˇ😃😃😃😃123456789012","mode":"Normal"}}
|
Loading…
Add table
Add a link
Reference in a new issue