annotate src/testdir/test32.in @ 4903:2fc1f3346bfb v7.3.1197

updated for version 7.3.1197 Problem: ":wviminfo!" does not write history previously read from a viminfo file. (Roland Eggner) Solution: When not merging history write all entries.
author Bram Moolenaar <bram@vim.org>
date Sat, 15 Jun 2013 16:31:47 +0200
parents f469b3c2dbe6
children 73cc7272de5e
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 Test for insert expansion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 :se cpt=.,w
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 * add-expands (word from next line) from other window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 * add-expands (current buffer first)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 * Local expansion, ends in an empty line (unless it becomes a global expansion)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 * starts Local and switches to global add-expansion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 :se cpt=.,w,i
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 * i-add-expands and switches to local
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 * add-expands lines (it would end in an empty line if it didn't ignored it self)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 :se cpt=kXtestfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 * checks k-expansion, and file expansion (use Xtest11 instead of test11,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 * because TEST11.OUT may match first on DOS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 :se cpt=w
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 * checks make_cyclic in other window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 :se cpt=u nohid
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 * checks unloaded buffer expansion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 * checks adding mode abortion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 :se cpt=t,d
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 * tag expansion, define add-expansion interrupted
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 * t-expansion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 :so small.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 :se nocp viminfo+=nviminfo cpt=.,w ff=unix | $-2,$w!Xtestfile | set ff&
540
2df7f3a5eb96 updated for version 7.0153
vimboss
parents: 7
diff changeset
26 :se cot=
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 nO#include "Xtestfile"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 ru
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 O
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 :se cpt=.,w,i
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 kOM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34   
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 :se cpt=kXtestfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 :w Xtest11.one
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 :w Xtest11.two
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 OIXA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 :se cpt=w
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 OST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 :se cpt=u nohid
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 oOEN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 unl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 :se cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 O
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 :wq! test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 start of testfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 run1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 run2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 end of testfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 test11 36Gepeto /Tag/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 asd test11file 36G
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 Makefile to run