Tizen 2.0 Release
[external/vim.git] / src / testdir / test32.in
1 Test for insert expansion
2
3 :se cpt=.,w
4 * add-expands (word from next line) from other window
5 * add-expands (current buffer first)
6 * Local expansion, ends in an empty line (unless it becomes a global expansion)
7 * starts Local and switches to global add-expansion
8 :se cpt=.,w,i
9 * i-add-expands and switches to local
10 * add-expands lines (it would end in an empty line if it didn't ignored it self)
11 :se cpt=kXtestfile
12 * checks k-expansion, and file expansion (use Xtest11 instead of test11,
13 * because TEST11.OUT may match first on DOS)
14 :se cpt=w
15 * checks make_cyclic in other window
16 :se cpt=u nohid
17 * checks unloaded buffer expansion
18 * checks adding mode abortion
19 :se cpt=t,d
20 * tag expansion, define add-expansion interrupted
21 * t-expansion
22
23 STARTTEST
24 :so small.vim
25 :se nocp viminfo+=nviminfo cpt=.,w ff=unix | $-2,$w!Xtestfile | set ff&
26 :se cot=
27 \17nO#include "Xtestfile"
28 ru\ e\ e\18\ e\e\ 1
29 O\10\18\ e
30 \18\10\10\10\10\10
31 \18\10\10\18\18\ e\18\ e\ e\e
32 :se cpt=.,w,i
33 kOM\ e\18\ e\18\ e\18\18\18\10
34 \18\f\18\f\10\10\e
35 :se cpt=kXtestfile
36 :w Xtest11.one
37 :w Xtest11.two
38 O\ e\eIX\eA\18\ 6\ e\e
39 :se cpt=w
40 OST\ e\10\10\10\10\e
41 :se cpt=u nohid
42 \17oOEN\ e
43 unl\ e\18\18\10\e
44 :se cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
45 O\18\1d\18\ 4\18\ 4\18\18\ 4\18\ 4\18\ 4\18\ 4
46 a\ e\e
47 :wq! test.out
48 ENDTEST
49
50 start of testfile
51 run1
52 run2
53 end of testfile
54
55 test11  36Gepeto        /Tag/
56 asd     test11file      36G
57 Makefile        to      run