1This is a test of 'virtualedit'. 2 3STARTTEST 4:so small.vim 5:set noswf 6:set ve=all 7-dgg 8:" 9:" Insert "keyword keyw", ESC, C CTRL-N, shows "keyword ykeyword". 10:" Repeating CTRL-N fixes it. (Mary Ellen Foster) 112/w 12C 13:" 14:" Using "C" then then <CR> moves the last remaining character to the next 15:" line. (Mary Ellen Foster) 16j^/are 17C 18are belong to vim 19:" 20:" When past the end of a line that ends in a single character "b" skips 21:" that word. 22^$15lbC7 23:" 24:" Make sure 'i' works 25$4li<-- should be 3 ' ' 26:" 27:" Make sure 'C' works 28$4lC<-- should be 3 ' ' 29:" 30:" Make sure 'a' works 31$4la<-- should be 4 ' ' 32:" 33:" Make sure 'A' works 34$4lA<-- should be 0 ' ' 35:" 36:" Make sure 'D' works 37$4lDi<-- 'D' should be intact 38:" 39:" Test for yank bug reported by Mark Waggoner. 40:set ve=block 41^2w3jyGp 42:" 43:" Test "r" beyond the end of the line 44:set ve=all 45/^"r" 46$5lrxa<-- should be 'x' 47:" 48:" Test to make sure 'x' can delete control characters 49:set display=uhex 50^xxxxxxi[This line should contain only the text between the brackets.] 51:set display= 52:" 53:" Test for ^Y/^E due to bad w_virtcol value, reported by 54:" Roy <royl@netropolis.net>. 55^O3li4li4li <-- should show the name of a noted text editor 56^o4li4li4li <-- and its version number-dd 57:" 58:wq! test.out 59ENDTEST 60keyword keyw 61all your base are belong to us 621 2 3 4 5 6 63'i' 64'C' 65'a' 66'A' 67'D' 68this is a test 69this is a test 70this is a test 71"r" 72ab 73sd 74abcv6efi.him0kl 75 76 77