blob: a16d4d99c85102a6517aba045581c096c9d996ef [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001
2Test Visual block mode commands
Bram Moolenaare60c58d2008-02-06 13:44:43 +00003And test "U" in Visual mode, also on German sharp S.
Bram Moolenaar071d4272004-06-13 20:20:40 +00004
5STARTTEST
6:so small.vim
Bram Moolenaare60c58d2008-02-06 13:44:43 +00007:so mbyte.vim
Bram Moolenaar071d4272004-06-13 20:20:40 +00008/^abcde
9:" Test shift-right of a block
10jlllljj>wlljlll>
11:" Test shift-left of a block
12G$hhhhkk<
13:" Test block-insert
14GklkkkIxyz
15:" Test block-replace
16Gllllkkklllrq
17:" Test block-change
18G$khhhhhkkcmno
Bram Moolenaare60c58d2008-02-06 13:44:43 +000019:$-4,$w! test.out
20:" gUe must uppercase a whole word, also when ß changes to SS
21Gothe youtußeuu endYpk0wgUe
22:" gUfx must uppercase until x, inclusive.
23O- youßtußexu -0fogUfx
24:" VU must uppercase a whole line
25YpkVU
26:" same, when it's the last line in the buffer
27YPGi111VUddP
28:" Uppercase two lines
29Oblah di
30doh dutVkUj
31:" Uppercase part of two lines
32ddppi333k0i222fyllvjfuUk
33:/^the/,$w >> test.out
34:qa!
Bram Moolenaar071d4272004-06-13 20:20:40 +000035ENDTEST
36
37abcdefghijklm
38abcdefghijklm
39abcdefghijklm
40abcdefghijklm
41abcdefghijklm