annotate src/testdir/test_command_count.in @ 10064:793471c09a4b v7.4.2303

commit https://github.com/vim/vim/commit/779f2fc3a7468e273897d2fd0672315812a2e3da Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 1 20:58:24 2016 +0200 patch 7.4.2303 Problem: When using "is" the mode isn't always updated. Solution: Redraw the command line. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Thu, 01 Sep 2016 21:00:09 +0200
parents ceda6d8af447
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6424
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 Test for user command counts vim: set ft=vim :
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 STARTTEST
6514
79b3d83592c5 updated for version 7.4.584
Bram Moolenaar <bram@vim.org>
parents: 6474
diff changeset
4 :so small.vim
6537
d83436d11987 updated for version 7.4.595
Bram Moolenaar <bram@vim.org>
parents: 6516
diff changeset
5 :lang C
6424
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 :let g:lines = []
6464
82c6a3bddb23 updated for version 7.4.561
Bram Moolenaar <bram@vim.org>
parents: 6424
diff changeset
7 :com -range=% RangeLines :call add(g:lines, 'RangeLines '.<line1>.' '.<line2>)
6424
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 :com -range -addr=arguments RangeArguments :call add(g:lines, 'RangeArguments '.<line1>.' '.<line2>)
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :com -range=% -addr=arguments RangeArgumentsAll :call add(g:lines, 'RangeArgumentsAll '.<line1>.' '.<line2>)
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :com -range -addr=loaded_buffers RangeLoadedBuffers :call add(g:lines, 'RangeLoadedBuffers '.<line1>.' '.<line2>)
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 :com -range=% -addr=loaded_buffers RangeLoadedBuffersAll :call add(g:lines, 'RangeLoadedBuffersAll '.<line1>.' '.<line2>)
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 :com -range -addr=buffers RangeBuffers :call add(g:lines, 'RangeBuffers '.<line1>.' '.<line2>)
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 :com -range=% -addr=buffers RangeBuffersAll :call add(g:lines, 'RangeBuffersAll '.<line1>.' '.<line2>)
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 :com -range -addr=windows RangeWindows :call add(g:lines, 'RangeWindows '.<line1>.' '.<line2>)
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 :com -range=% -addr=windows RangeWindowsAll :call add(g:lines, 'RangeWindowsAll '.<line1>.' '.<line2>)
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 :com -range -addr=tabs RangeTabs :call add(g:lines, 'RangeTabs '.<line1>.' '.<line2>)
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 :com -range=% -addr=tabs RangeTabsAll :call add(g:lines, 'RangeTabsAll '.<line1>.' '.<line2>)
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 :set hidden
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 :arga a b c d
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 :argdo echo "loading buffers"
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 :argu 3
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 :.-,$-RangeArguments
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 :%RangeArguments
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 :RangeArgumentsAll
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25 :N
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26 :.RangeArguments
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27 :split|split|split|split
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
28 :3wincmd w
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
29 :.,$RangeWindows
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
30 :%RangeWindows
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
31 :RangeWindowsAll
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
32 :only
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
33 :blast|bd
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
34 :.,$RangeLoadedBuffers
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
35 :%RangeLoadedBuffers
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
36 :RangeLoadedBuffersAll
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
37 :.,$RangeBuffers
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
38 :%RangeBuffers
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
39 :RangeBuffersAll
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
40 :tabe|tabe|tabe|tabe
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
41 :normal 2gt
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
42 :.,$RangeTabs
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
43 :%RangeTabs
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
44 :RangeTabsAll
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
45 :1tabonly
6464
82c6a3bddb23 updated for version 7.4.561
Bram Moolenaar <bram@vim.org>
parents: 6424
diff changeset
46 :s/\n/\r\r\r\r\r/
82c6a3bddb23 updated for version 7.4.561
Bram Moolenaar <bram@vim.org>
parents: 6424
diff changeset
47 :2ma<
82c6a3bddb23 updated for version 7.4.561
Bram Moolenaar <bram@vim.org>
parents: 6424
diff changeset
48 :$-ma>
82c6a3bddb23 updated for version 7.4.561
Bram Moolenaar <bram@vim.org>
parents: 6424
diff changeset
49 :'<,'>RangeLines
82c6a3bddb23 updated for version 7.4.561
Bram Moolenaar <bram@vim.org>
parents: 6424
diff changeset
50 :com -range=% -buffer LocalRangeLines :call add(g:lines, 'LocalRangeLines '.<line1>.' '.<line2>)
82c6a3bddb23 updated for version 7.4.561
Bram Moolenaar <bram@vim.org>
parents: 6424
diff changeset
51 :'<,'>LocalRangeLines
6472
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
52 :b1
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
53 ENDTEST
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
54
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
55 STARTTEST
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
56 :call add(g:lines, '')
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
57 :%argd
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
58 :arga a b c d
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
59 :let v:errmsg = ''
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
60 :5argu
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
61 :call add(g:lines, '5argu ' . v:errmsg)
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
62 :$argu
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
63 :call add(g:lines, '4argu ' . expand('%:t'))
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
64 :let v:errmsg = ''
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
65 :1argu
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
66 :call add(g:lines, '1argu ' . expand('%:t'))
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
67 :let v:errmsg = ''
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
68 :100b
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
69 :call add(g:lines, '100b ' . v:errmsg)
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
70 :split|split|split|split
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
71 :let v:errmsg = ''
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
72 :0close
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
73 :call add(g:lines, '0close ' . v:errmsg)
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
74 :$wincmd w
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
75 :$close
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
76 :call add(g:lines, '$close ' . winnr())
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
77 :let v:errmsg = ''
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
78 :$+close
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
79 :call add(g:lines, '$+close ' . v:errmsg)
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
80 :$tabe
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
81 :call add(g:lines, '$tabe ' . tabpagenr())
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
82 :let v:errmsg = ''
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
83 :$+tabe
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
84 :call add(g:lines, '$+tabe ' . v:errmsg)
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
85 :only!
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
86 :e x
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
87 :0tabm
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
88 :normal 1gt
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
89 :call add(g:lines, '0tabm ' . expand('%:t'))
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
90 :tabonly!
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6464
diff changeset
91 :only!
6424
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
92 :e! test.out
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
93 :call append(0, g:lines)
6474
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
94 :unlet g:lines
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
95 :w|bd
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
96 :b1
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
97 ENDTEST
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
98
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
99 STARTTEST
6516
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
100 :let g:lines = []
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
101 :func BufStatus()
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
102 : call add(g:lines, 'aaa: ' . buflisted(g:buf_aaa) . ' bbb: ' . buflisted(g:buf_bbb) . ' ccc: ' . buflisted(g:buf_ccc))
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
103 :endfunc
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
104 :se nohidden
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
105 :e aaa
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
106 :let buf_aaa = bufnr('%')
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
107 :e bbb
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
108 :let buf_bbb = bufnr('%')
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
109 :e ccc
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
110 :let buf_ccc = bufnr('%')
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
111 :b1
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
112 :call BufStatus()
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
113 :exe buf_bbb . "," . buf_ccc . "bdelete"
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
114 :call BufStatus()
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
115 :exe buf_aaa . "bdelete"
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
116 :call BufStatus()
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
117 :e! test.out
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
118 :call append('$', g:lines)
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
119 :unlet g:lines
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
120 :delfunc BufStatus
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
121 :w|bd
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
122 :b1
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
123 ENDTEST
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
124
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
125 STARTTEST
1d3139ae6ce6 updated for version 7.4.585
Bram Moolenaar <bram@vim.org>
parents: 6514
diff changeset
126 :se hidden
6474
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
127 :only!
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
128 :let g:lines = []
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
129 :%argd
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
130 :arga a b c d e f
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
131 :3argu
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
132 :let args = ''
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
133 :.,$-argdo let args .= ' '.expand('%')
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
134 :call add(g:lines, 'argdo:' . args)
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
135 :split|split|split|split
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
136 :2wincmd w
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
137 :let windows = ''
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
138 :.,$-windo let windows .= ' '.winnr()
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
139 :call add(g:lines, 'windo:'. windows)
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
140 :b2
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
141 :let buffers = ''
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
142 :.,$-bufdo let buffers .= ' '.bufnr('%')
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
143 :call add(g:lines, 'bufdo:' . buffers)
6641
ceda6d8af447 updated for version 7.4.646
Bram Moolenaar <bram@vim.org>
parents: 6537
diff changeset
144 :3bd
6474
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
145 :let buffers = ''
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
146 :3,7bufdo let buffers .= ' '.bufnr('%')
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
147 :call add(g:lines, 'bufdo:' . buffers)
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
148 :tabe|tabe|tabe|tabe
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
149 :normal! 2gt
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
150 :let tabpages = ''
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
151 :.,$-tabdo let tabpages .= ' '.tabpagenr()
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
152 :call add(g:lines, 'tabdo:' . tabpages)
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
153 :e! test.out
a88d4dc02bf4 updated for version 7.4.566
Bram Moolenaar <bram@vim.org>
parents: 6472
diff changeset
154 :call append('$', g:lines)
6424
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
155 :w|qa!
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
156 ENDTEST
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
157
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
158