1 Test for 'scrollbind'. <eralston@computer.org> Do not add a line below!
5 :set scrollopt=ver,jump
10 :" TEST using two windows open to one buffer, one extra empty window
23 :" -- start of tests --
24 :" TEST scrolling down
25 L5jHyy
\x17bpr0
\x17tHyy
\x17bpr1
\x17tL6jHyy
\x17bpr2
\x17kHyy
\x17bpr3:
27 \x17tH4k
\x17jH
\x17tHyy
\x17bpr4
\x17kHyy
\x17bpr5
\x17k3k
\x17tH
\x17jHyy
\x17bpr6
\x17tHyy
\x17bpr7:
28 :" TEST horizontal scrolling
30 gg"zyyG"zpG
\x17t015zly$
\x17bp"zpG
\x17ky$
\x17bp"zpG:
31 \x17k10jH7zhg0y$
\x17bp"zpG
\x17tHg0y$
\x17bp"zpG:
33 :" ****** tests using two different buffers *****
38 :/^start of window 2$/,/^end of window 2$/y
41 \x17t/^start of window 1$/
48 :" -- start of tests --
49 :" TEST scrolling down
50 L5jHyy
\x17bpr0
\x17tHyy
\x17bpr1
\x17tL6jHyy
\x17bpr2
\x17kHyy
\x17bpr3:
52 \x17tH4k
\x17jH
\x17tHyy
\x17bpr4
\x17kHyy
\x17bpr5
\x17k3k
\x17tH
\x17jHyy
\x17bpr6
\x17tHyy
\x17bpr7:
53 :" TEST horizontal scrolling
55 gg"zyyG"zpG
\x17t015zly$
\x17bp"zpG
\x17ky$
\x17bp"zpG:
56 \x17k10jH7zhg0y$
\x17bp"zpG
\x17tHg0y$
\x17bp"zpG:
64 Hk
\x17tH
\x17jHyy
\x17bp
\x17tyy
\x17bp:
69 \x17tG
\x17jG
\x17t:syncbind
70 Hk
\x17jH
\x17tHyy
\x17bp
\x17t
\x17jyy
\x17bp:
71 \x17tH3k
\x17jH
\x17tHyy
\x17bp
\x17t
\x17jyy
\x17bp:
72 :" ***** done with tests *****
73 :w! test.out " Write contents of this file
79 . line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
80 . line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
81 . line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03
82 . line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04
83 . line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
84 . line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
85 . line 07 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07
86 . line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08
87 . line 09 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09
88 . line 10 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 10
89 . line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
90 . line 12 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 12
91 . line 13 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 13
92 . line 14 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 14
93 . line 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 15
98 . line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01
99 . line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
100 . line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03
101 . line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04
102 . line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
103 . line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
104 . line 07 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 07
105 . line 08 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 08
106 . line 09 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 09
107 . line 10 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 10
108 . line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
109 . line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
110 . line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13
111 . line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
112 . line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
113 . line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
116 end of test37.in (please don't delete this line)