0
|
1 Tests for vertical splits and filler lines in diff mode
|
|
2
|
|
3 STARTTEST
|
|
4 :so small.vim
|
39
|
5 :" Disable the title to avoid xterm keeping the wrong one.
|
|
6 :set notitle noicon
|
0
|
7 /^1
|
|
8 yG:new
|
|
9 pkdd:w! Xtest
|
|
10 ddGpkkrXoxxx:w! Xtest2
|
|
11 :file Nop
|
|
12 ggoyyyjjjozzzz
|
|
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 ggpgg: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 gg: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 gg: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 :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
|