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