Tizen 2.0 Release
[external/vim.git] / src / testdir / test47.in
1 Tests for vertical splits and filler lines in diff mode
2
3 STARTTEST
4 :so small.vim
5 :" Disable the title to avoid xterm keeping the wrong one.
6 :set notitle noicon
7 /^1
8 yG:new
9 pkdd:w! Xtest
10 ddGpkkrXoxxx\e:w! Xtest2
11 :file Nop
12 ggoyyy\ejjjozzzz\e
13 :vert diffsplit Xtest
14 :vert diffsplit Xtest2
15 :" jump to second window for a moment to have filler line appear at start of
16 :" first window
17 \17\17gg\17pgg:let one = winline()
18 j:let one = one . "-" . winline()
19 j:let one = one . "-" . winline()
20 j:let one = one . "-" . winline()
21 j:let one = one . "-" . winline()
22 j:let one = one . "-" . winline()
23 \17\17gg:let two = winline()
24 j:let two = two . "-" . winline()
25 j:let two = two . "-" . winline()
26 j:let two = two . "-" . winline()
27 j:let two = two . "-" . winline()
28 \17\17gg:let three = winline()
29 j:let three = three . "-" . winline()
30 j:let three = three . "-" . winline()
31 j:let three = three . "-" . winline()
32 j:let three = three . "-" . winline()
33 j:let three = three . "-" . winline()
34 j:let three = three . "-" . winline()
35 \17\17:call append("$", one)
36 :call append("$", two)
37 :call append("$", three)
38 :$-2,$w! test.out
39 :unlet one two three
40 :qa!
41 ENDTEST
42
43 1 aa
44 2 bb
45 3 cc
46 4 dd
47 5 ee