5 :" Simple test for opening and closing a tab page
9 :call append(line('$'), 'tab page ' . nr)
12 :" Open three tab pages and use ":tabdo"
16 :tabdo call append(line('$'), 'this is tab page ' . tabpagenr())
19 :let line1 = getline('$')
23 :let line2 = getline('$')
25 :call append(line('$'), line1)
26 :call append(line('$'), line2)
30 :/^Results/,$w! test.out