annotate src/testdir/test48.in @ 5917:1157079ca5f1 v7.4.300

updated for version 7.4.300 Problem: The way config.cache is removed doesn't always work. Solution: Always remove config.cache. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Thu, 22 May 2014 14:54:26 +0200
parents 6834d6aeae09
children 9dc52b404c1b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 This is a test of 'virtualedit'.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 :so small.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 :set noswf
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 :set ve=all
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 -dgg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 :" Insert "keyword keyw", ESC, C CTRL-N, shows "keyword ykeyword".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 :" Repeating CTRL-N fixes it. (Mary Ellen Foster)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 2/w
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 :" Using "C" then then <CR> moves the last remaining character to the next
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 :" line. (Mary Ellen Foster)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 j^/are
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 C are belong to vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 :" When past the end of a line that ends in a single character "b" skips
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 :" that word.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 ^$15lbC7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 :" Make sure 'i' works
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 $4li<-- should be 3 ' '
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 :" Make sure 'C' works
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 $4lC<-- should be 3 ' '
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 :" Make sure 'a' works
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 $4la<-- should be 4 ' '
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 :" Make sure 'A' works
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 $4lA<-- should be 0 ' '
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 :" Make sure 'D' works
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 $4lDi<-- 'D' should be intact
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 :" Test for yank bug reported by Mark Waggoner.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 :set ve=block
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 ^2w3jyGp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 :" Test "r" beyond the end of the line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 :set ve=all
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 /^"r"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 $5lrxa<-- should be 'x'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 :" Test to make sure 'x' can delete control characters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 :set display=uhex
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 ^xxxxxxi[This line should contain only the text between the brackets.]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 :set display=
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 :"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 :" Test for ^Y/^E due to bad w_virtcol value, reported by
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 :" Roy <royl@netropolis.net>.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 ^O3li4li4li <-- should show the name of a noted text editor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 ^o4li4li4li <-- and its version number-dd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 :"
4013
6834d6aeae09 updated for version 7.3.761
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
57 :" Test for yanking and pasting using the small delete register
6834d6aeae09 updated for version 7.3.761
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
58 gg/^foo
6834d6aeae09 updated for version 7.3.761
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
59 dewve"-p
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 :wq! test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 ENDTEST
4013
6834d6aeae09 updated for version 7.3.761
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
62 foo, bar
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 keyword keyw
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 all your base are belong to us
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 1 2 3 4 5 6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 'i'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 'C'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 'a'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 'A'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 'D'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 this is a test
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 this is a test
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 this is a test
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 "r"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 ab sd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 abcv6efi.him0kl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78