Add support for u and U in vim visual mode
This commit is contained in:
parent
b213458803
commit
c0c0abae56
5 changed files with 103 additions and 10 deletions
12
crates/vim/test_data/test_convert_to_lower_case.json
Normal file
12
crates/vim/test_data/test_convert_to_lower_case.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{"Put":{"state":"A😀c«DÉ1*fˇ»\n"}}
|
||||
{"Key":"u"}
|
||||
{"Get":{"state":"A😀cˇdé1*f\n","mode":"Normal"}}
|
||||
{"Put":{"state":"ABˇc\n"}}
|
||||
{"Key":"shift-v"}
|
||||
{"Key":"u"}
|
||||
{"Get":{"state":"ˇabc\n","mode":"Normal"}}
|
||||
{"Put":{"state":"ˇAa\nBb\nCc"}}
|
||||
{"Key":"ctrl-v"}
|
||||
{"Key":"j"}
|
||||
{"Key":"u"}
|
||||
{"Get":{"state":"ˇaa\nbb\nCc","mode":"Normal"}}
|
12
crates/vim/test_data/test_convert_to_upper_case.json
Normal file
12
crates/vim/test_data/test_convert_to_upper_case.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{"Put":{"state":"a😀C«dÉ1*fˇ»\n"}}
|
||||
{"Key":"U"}
|
||||
{"Get":{"state":"a😀CˇDÉ1*F\n","mode":"Normal"}}
|
||||
{"Put":{"state":"abˇC\n"}}
|
||||
{"Key":"shift-v"}
|
||||
{"Key":"U"}
|
||||
{"Get":{"state":"ˇABC\n","mode":"Normal"}}
|
||||
{"Put":{"state":"ˇaa\nbb\ncc"}}
|
||||
{"Key":"ctrl-v"}
|
||||
{"Key":"j"}
|
||||
{"Key":"U"}
|
||||
{"Get":{"state":"ˇAa\nBb\ncc","mode":"Normal"}}
|
Loading…
Add table
Add a link
Reference in a new issue