blob: c87387b2fd5b65b63cf8b32a45a211dbc867f743 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001Tests for vertical splits and filler lines in diff mode
2
3STARTTEST
4:so small.vim
Bram Moolenaarbed7bec2010-07-25 13:42:29 +02005:" Disable the title to avoid xterm keeping the wrong one.
6:set notitle noicon
Bram Moolenaar071d4272004-06-13 20:20:40 +00007/^1
8yG:new
9pkdd:w! Xtest
10ddGpkkrXoxxx:w! Xtest2
11:file Nop
12ggoyyyjjjozzzz
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
17ggpgg:let one = winline()
18j:let one = one . "-" . winline()
19j:let one = one . "-" . winline()
20j:let one = one . "-" . winline()
21j:let one = one . "-" . winline()
22j:let one = one . "-" . winline()
23gg:let two = winline()
24j:let two = two . "-" . winline()
25j:let two = two . "-" . winline()
26j:let two = two . "-" . winline()
27j:let two = two . "-" . winline()
28gg:let three = winline()
29j:let three = three . "-" . winline()
30j:let three = three . "-" . winline()
31j:let three = three . "-" . winline()
32j:let three = three . "-" . winline()
33j:let three = three . "-" . winline()
34j:let three = three . "-" . winline()
35:call append("$", one)
36:call append("$", two)
37:call append("$", three)
38:$-2,$w! test.out
Bram Moolenaar9d2c8c12007-09-25 16:00:00 +000039:unlet one two three
Bram Moolenaar071d4272004-06-13 20:20:40 +000040:qa!
41ENDTEST
42
431 aa
442 bb
453 cc
464 dd
475 ee