Mercurial > hg > RemoteEditor > vim7
comparison src/testdir/test47.in @ 0:76efa0be13f1
Initial revision
author | atsuki |
---|---|
date | Sat, 10 Nov 2007 15:07:22 +0900 |
parents | |
children | c16898406ff2 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:76efa0be13f1 |
---|---|
1 Tests for vertical splits and filler lines in diff mode | |
2 | |
3 STARTTEST | |
4 :so small.vim | |
5 /^1 | |
6 yG:new | |
7 pkdd:w! Xtest | |
8 ddGpkkrXoxxx:w! Xtest2 | |
9 :file Nop | |
10 ggoyyyjjjozzzz | |
11 :vert diffsplit Xtest | |
12 :vert diffsplit Xtest2 | |
13 :" jump to second window for a moment to have filler line appear at start of | |
14 :" first window | |
15 ggpgg:let one = winline() | |
16 j:let one = one . "-" . winline() | |
17 j:let one = one . "-" . winline() | |
18 j:let one = one . "-" . winline() | |
19 j:let one = one . "-" . winline() | |
20 j:let one = one . "-" . winline() | |
21 gg:let two = winline() | |
22 j:let two = two . "-" . winline() | |
23 j:let two = two . "-" . winline() | |
24 j:let two = two . "-" . winline() | |
25 j:let two = two . "-" . winline() | |
26 gg:let three = winline() | |
27 j:let three = three . "-" . winline() | |
28 j:let three = 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 :call append("$", one) | |
34 :call append("$", two) | |
35 :call append("$", three) | |
36 :$-2,$w! test.out | |
37 :unlet one two three | |
38 :qa! | |
39 ENDTEST | |
40 | |
41 1 aa | |
42 2 bb | |
43 3 cc | |
44 4 dd | |
45 5 ee |