blob: df07a6c3fa5711a869f3591866814a7bf57e5b08 [file] [log] [blame]
Bram Moolenaar04c5c9e2013-07-09 13:44:59 +02001" We don't want the status line to cause problems:
2set laststatus=0
3redraw!
4let g:totalLines = &lines * 20
5let middle = g:totalLines / 2
6wincmd n
7wincmd o
8for i in range(1, g:totalLines)
9 call setline(i, 'LINE ' . i)
10endfor
11
12exe string(middle)
13normal zt
14normal M
15
16aboveleft vert new
17for i in range(1, g:totalLines)
18 call setline(i, 'line ' . i)
19endfor
20exe string(middle)
21normal zt
22normal M
23setl scb
24
25wincmd p
26
Bram Moolenaarff525182013-07-14 13:02:12 +020027setl scb
28wincmd w