7
|
1
|
|
2 Test Visual block mode commands
|
1528
|
3 And test "U" in Visual mode, also on German sharp S.
|
7
|
4
|
|
5 STARTTEST
|
|
6 :so small.vim
|
1528
|
7 :so mbyte.vim
|
1537
|
8 :" This only works when 'encoding' is "latin1", don't depend on the environment
|
|
9 :set enc=latin1
|
7
|
10 /^abcde
|
|
11 :" Test shift-right of a block
|
|
12 jlllljj>wlljlll>
|
|
13 :" Test shift-left of a block
|
|
14 G$hhhhkk<
|
|
15 :" Test block-insert
|
|
16 GklkkkIxyz
|
|
17 :" Test block-replace
|
|
18 Gllllkkklllrq
|
|
19 :" Test block-change
|
|
20 G$khhhhhkkcmno
|
1528
|
21 :$-4,$w! test.out
|
|
22 :" gUe must uppercase a whole word, also when ß changes to SS
|
|
23 Gothe youtußeuu endYpk0wgUe
|
|
24 :" gUfx must uppercase until x, inclusive.
|
|
25 O- youßtußexu -0fogUfx
|
|
26 :" VU must uppercase a whole line
|
|
27 YpkVU
|
|
28 :" same, when it's the last line in the buffer
|
|
29 YPGi111VUddP
|
|
30 :" Uppercase two lines
|
|
31 Oblah di
|
|
32 doh dutVkUj
|
|
33 :" Uppercase part of two lines
|
|
34 ddppi333k0i222fyllvjfuUk
|
|
35 :/^the/,$w >> test.out
|
|
36 :qa!
|
7
|
37 ENDTEST
|
|
38
|
|
39 abcdefghijklm
|
|
40 abcdefghijklm
|
|
41 abcdefghijklm
|
|
42 abcdefghijklm
|
|
43 abcdefghijklm
|