blob: 0d54051846b91017a1740994e87716126b4b49ff [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001Test 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
23STARTTEST
24:so small.vim
25:se nocp viminfo+=nviminfo cpt=.,w ff=unix | $-2,$w!Xtestfile | set ff&
26nO#include "Xtestfile"
27ru
28O
29
30
31:se cpt=.,w,i
32kOM
33  
34:se cpt=kXtestfile
35:w Xtest11.one
36:w Xtest11.two
37OIXA
38:se cpt=w
39OST
40:se cpt=u nohid
41oOEN
42unl
43:se cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
44O
45a
46:wq! test.out
47ENDTEST
48
49start of testfile
50run1
51run2
52end of testfile
53
54test11 36Gepeto /Tag/
55asd test11file 36G
56Makefile to run