Add support for :winpos
[MacVim.git] / src / testdir / test48.in
blob2179fe66481657feac1a4cd1329e2c34d068a004
1 This is a test of 'virtualedit'.
3 STARTTEST
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)
11 2/w
12 C\x0e\e
14 :"   Using "C" then then <CR> moves the last remaining character to the next
15 :"    line.  (Mary Ellen Foster)
16 j^/are
17 C\rare belong to vim\e
19 :"   When past the end of a line that ends in a single character "b" skips
20 :"    that word.
21 ^$15lbC7\e
23 :"   Make sure 'i' works
24 $4li<-- should be 3 ' '\e
26 :"   Make sure 'C' works
27 $4lC<-- should be 3 ' '\e
29 :"   Make sure 'a' works
30 $4la<-- should be 4 ' '\e
32 :"   Make sure 'A' works
33 $4lA<-- should be 0 ' '\e
35 :"   Make sure 'D' works
36 $4lDi<-- 'D' should be intact\e
38 :"   Test for yank bug reported by Mark Waggoner.
39 :set ve=block
40 ^2w\x163jyGp
42 :" Test "r" beyond the end of the line
43 :set ve=all
44 /^"r"
45 $5lrxa<-- should be 'x'\e
47 :"   Test to make sure 'x' can delete control characters
48 :set display=uhex
49 ^xxxxxxi[This line should contain only the text between the brackets.]\e
50 :set display=
52 :"   Test for ^Y/^E due to bad w_virtcol value, reported by
53 :"   Roy <royl@netropolis.net>.
54 ^O\e3li\x05\e4li\x05\e4li\x05   <-- should show the name of a noted text editor\e
55 ^o\e4li\x19\e4li\x19\e4li\x19   <-- and its version number\e-dd
57 :wq! test.out
58 ENDTEST
59 keyword keyw
60 all your base are belong to us
61 1 2 3 4 5 6
62 'i'
63 'C'
64 'a'
65 'A'
66 'D'
67 this is a test
68 this is a test
69 this is a test
70 "r"
71 a\x16b\rsd
72 abcv6efi.him0kl