Mercurial > vim
comparison src/testdir/test48.in @ 7:3fc0f57ecb91 v7.0001
updated for version 7.0001
author | vimboss |
---|---|
date | Sun, 13 Jun 2004 20:20:40 +0000 |
parents | |
children | 6834d6aeae09 |
comparison
equal
deleted
inserted
replaced
6:c2daee826b8f | 7:3fc0f57ecb91 |
---|---|
1 This is a test of 'virtualedit'. | |
2 | |
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 | |
13 :" | |
14 :" Using "C" then then <CR> moves the last remaining character to the next | |
15 :" line. (Mary Ellen Foster) | |
16 j^/are | |
17 C | |
18 are 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 | |
59 ENDTEST | |
60 keyword keyw | |
61 all your base are belong to us | |
62 1 2 3 4 5 6 | |
63 'i' | |
64 'C' | |
65 'a' | |
66 'A' | |
67 'D' | |
68 this is a test | |
69 this is a test | |
70 this is a test | |
71 "r" | |
72 ab | |
73 sd | |
74 abcv6efi.him0kl | |
75 | |
76 |