Mercurial > vim
annotate src/ex_cmds.h @ 13598:8723e4496dd1 v8.0.1671
patch 8.0.1671: crash when passing non-dict argument as env to job_start()
commit https://github.com/vim/vim/commit/22efba47deb7e504142487fdc1617ec638cf0683
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 7 13:22:21 2018 +0200
patch 8.0.1671: crash when passing non-dict argument as env to job_start()
Problem: Crash when passing non-dict argument as env to job_start().
Solution: Check for valid argument. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/2765)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 07 Apr 2018 13:30:06 +0200 |
parents | 4df23d9bad47 |
children | 9df95cf9ea7e |
rev | line source |
---|---|
10042
4aead6a9b7a9
commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents:
9980
diff
changeset
|
1 /* vi:set ts=8 sts=4 sw=4 noet: |
7 | 2 * |
3 * VIM - Vi IMproved by Bram Moolenaar | |
4 * | |
5 * Do ":help uganda" in Vim to read copying and usage conditions. | |
6 * Do ":help credits" in Vim to see a list of people who contributed. | |
7 */ | |
8 | |
9 /* | |
10 * This file defines the Ex commands. | |
11 * When DO_DECLARE_EXCMD is defined, the table with ex command names and | |
12 * options results. | |
13 * When DO_DECLARE_EXCMD is NOT defined, the enum with all the Ex commands | |
14 * results. | |
15 * This clever trick was invented by Ron Aaron. | |
16 */ | |
17 | |
18 /* | |
19 * When adding an Ex command: | |
20 * 1. Add an entry in the table below. Keep it sorted on the shortest | |
21 * version of the command name that works. If it doesn't start with a | |
22 * lower case letter, add it at the end. | |
23 * 2. Add a "case: CMD_xxx" in the big switch in ex_docmd.c. | |
24 * 3. Add an entry in the index for Ex commands at ":help ex-cmd-index". | |
25 * 4. Add documentation in ../doc/xxx.txt. Add a tag for both the short and | |
26 * long name of the command. | |
27 */ | |
28 | |
29 #ifdef RANGE | |
30 # undef RANGE /* SASC on Amiga defines it */ | |
31 #endif | |
32 | |
33 #define RANGE 0x001 /* allow a linespecs */ | |
34 #define BANG 0x002 /* allow a ! after the command name */ | |
35 #define EXTRA 0x004 /* allow extra args after command name */ | |
36 #define XFILE 0x008 /* expand wildcards in extra part */ | |
37 #define NOSPC 0x010 /* no spaces allowed in the extra part */ | |
38 #define DFLALL 0x020 /* default file range is 1,$ */ | |
39 #define WHOLEFOLD 0x040 /* extend range to include whole fold also | |
40 when less than two numbers given */ | |
41 #define NEEDARG 0x080 /* argument required */ | |
42 #define TRLBAR 0x100 /* check for trailing vertical bar */ | |
43 #define REGSTR 0x200 /* allow "x for register designation */ | |
44 #define COUNT 0x400 /* allow count in argument, after command */ | |
45 #define NOTRLCOM 0x800 /* no trailing comment allowed */ | |
46 #define ZEROR 0x1000 /* zero line number allowed */ | |
47 #define USECTRLV 0x2000 /* do not remove CTRL-V from argument */ | |
48 #define NOTADR 0x4000 /* number before command is not an address */ | |
49 #define EDITCMD 0x8000 /* allow "+command" argument */ | |
50 #define BUFNAME 0x10000L /* accepts buffer name */ | |
51 #define BUFUNL 0x20000L /* accepts unlisted buffer too */ | |
52 #define ARGOPT 0x40000L /* allow "++opt=val" argument */ | |
53 #define SBOXOK 0x80000L /* allowed in the sandbox */ | |
11611
9dc041e1c8c9
patch 8.0.0688: cannot resize the window in a FileType autocommand
Christian Brabandt <cb@256bit.org>
parents:
11545
diff
changeset
|
54 #define CMDWIN 0x100000L /* allowed in cmdline window; when missing |
9dc041e1c8c9
patch 8.0.0688: cannot resize the window in a FileType autocommand
Christian Brabandt <cb@256bit.org>
parents:
11545
diff
changeset
|
55 * disallows editing another buffer when |
9dc041e1c8c9
patch 8.0.0688: cannot resize the window in a FileType autocommand
Christian Brabandt <cb@256bit.org>
parents:
11545
diff
changeset
|
56 * curbuf_lock is set */ |
2138
78b9d5dce950
updated for version 7.2.420
Bram Moolenaar <bram@zimbu.org>
parents:
1926
diff
changeset
|
57 #define MODIFY 0x200000L /* forbidden in non-'modifiable' buffer */ |
169 | 58 #define EXFLAGS 0x400000L /* allow flags after count in argument */ |
7 | 59 #define FILES (XFILE | EXTRA) /* multiple extra files allowed */ |
60 #define WORD1 (EXTRA | NOSPC) /* one extra word allowed */ | |
61 #define FILE1 (FILES | NOSPC) /* 1 file allowed, defaults to current file */ | |
62 | |
6398 | 63 /* values for cmd_addr_type */ |
64 #define ADDR_LINES 0 | |
65 #define ADDR_WINDOWS 1 | |
66 #define ADDR_ARGUMENTS 2 | |
67 #define ADDR_LOADED_BUFFERS 3 | |
6448 | 68 #define ADDR_BUFFERS 4 |
6398 | 69 #define ADDR_TABS 5 |
10739
380e706814da
patch 8.0.0259: tab commands do not handle count correctly
Christian Brabandt <cb@256bit.org>
parents:
10722
diff
changeset
|
70 #define ADDR_TABS_RELATIVE 6 /* Tab page that only relative */ |
380e706814da
patch 8.0.0259: tab commands do not handle count correctly
Christian Brabandt <cb@256bit.org>
parents:
10722
diff
changeset
|
71 #define ADDR_QUICKFIX 7 |
8903
9da3751688e9
commit https://github.com/vim/vim/commit/5d91646599a7b74310845e30a2a52ff197dc0ed7
Christian Brabandt <cb@256bit.org>
parents:
8897
diff
changeset
|
72 #define ADDR_OTHER 99 |
6398 | 73 |
7 | 74 #ifndef DO_DECLARE_EXCMD |
75 typedef struct exarg exarg_T; | |
76 #endif | |
77 | |
78 /* | |
79 * This array maps ex command names to command codes. | |
80 * The order in which command names are listed below is significant -- | |
81 * ambiguous abbreviations are always resolved to be the first possible match | |
82 * (e.g. "r" is taken to mean "read", not "rewind", because "read" comes | |
83 * before "rewind"). | |
84 * Not supported commands are included to avoid ambiguities. | |
85 */ | |
86 #ifdef EX | |
87 # undef EX /* just in case */ | |
88 #endif | |
89 #ifdef DO_DECLARE_EXCMD | |
6398 | 90 # define EX(a, b, c, d, e) {(char_u *)b, c, (long_u)(d), e} |
7 | 91 |
7807
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
7726
diff
changeset
|
92 typedef void (*ex_func_T) (exarg_T *eap); |
7 | 93 |
94 static struct cmdname | |
95 { | |
96 char_u *cmd_name; /* name of the command */ | |
97 ex_func_T cmd_func; /* function for this command */ | |
98 long_u cmd_argt; /* flags declared above */ | |
6398 | 99 int cmd_addr_type; /* flag for address type */ |
8163
d8a8e86f39ad
commit https://github.com/vim/vim/commit/e89ff0472bc33779583d48e8d38a5e794d05613a
Christian Brabandt <cb@256bit.org>
parents:
7807
diff
changeset
|
100 } cmdnames[] = |
7 | 101 #else |
6398 | 102 # define EX(a, b, c, d, e) a |
7 | 103 enum CMD_index |
104 #endif | |
105 { | |
106 EX(CMD_append, "append", ex_append, | |
6398 | 107 BANG|RANGE|ZEROR|TRLBAR|CMDWIN|MODIFY, |
108 ADDR_LINES), | |
7 | 109 EX(CMD_abbreviate, "abbreviate", ex_abbreviate, |
6398 | 110 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
111 ADDR_LINES), | |
7 | 112 EX(CMD_abclear, "abclear", ex_abclear, |
6398 | 113 EXTRA|TRLBAR|CMDWIN, |
114 ADDR_LINES), | |
7 | 115 EX(CMD_aboveleft, "aboveleft", ex_wrongmodifier, |
6398 | 116 NEEDARG|EXTRA|NOTRLCOM, |
117 ADDR_LINES), | |
7 | 118 EX(CMD_all, "all", ex_all, |
6398 | 119 BANG|RANGE|NOTADR|COUNT|TRLBAR, |
120 ADDR_LINES), | |
7 | 121 EX(CMD_amenu, "amenu", ex_menu, |
6398 | 122 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
123 ADDR_LINES), | |
7 | 124 EX(CMD_anoremenu, "anoremenu", ex_menu, |
6398 | 125 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
126 ADDR_LINES), | |
7 | 127 EX(CMD_args, "args", ex_args, |
6398 | 128 BANG|FILES|EDITCMD|ARGOPT|TRLBAR, |
129 ADDR_LINES), | |
7 | 130 EX(CMD_argadd, "argadd", ex_argadd, |
7726
f6311c321411
commit https://github.com/vim/vim/commit/2faa29f896252073b53f387406109e331fbbe5f8
Christian Brabandt <cb@256bit.org>
parents:
7402
diff
changeset
|
131 BANG|RANGE|NOTADR|ZEROR|FILES|TRLBAR, |
6398 | 132 ADDR_ARGUMENTS), |
7 | 133 EX(CMD_argdelete, "argdelete", ex_argdelete, |
6398 | 134 BANG|RANGE|NOTADR|FILES|TRLBAR, |
135 ADDR_ARGUMENTS), | |
7 | 136 EX(CMD_argdo, "argdo", ex_listdo, |
6474 | 137 BANG|NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL, |
138 ADDR_ARGUMENTS), | |
7 | 139 EX(CMD_argedit, "argedit", ex_argedit, |
11676
f87c43fca41d
patch 8.0.0721: :argedit can only have one argument
Christian Brabandt <cb@256bit.org>
parents:
11643
diff
changeset
|
140 BANG|NEEDARG|RANGE|NOTADR|ZEROR|FILES|EDITCMD|ARGOPT|TRLBAR, |
6398 | 141 ADDR_ARGUMENTS), |
7 | 142 EX(CMD_argglobal, "argglobal", ex_args, |
6398 | 143 BANG|FILES|EDITCMD|ARGOPT|TRLBAR, |
144 ADDR_LINES), | |
7 | 145 EX(CMD_arglocal, "arglocal", ex_args, |
6398 | 146 BANG|FILES|EDITCMD|ARGOPT|TRLBAR, |
147 ADDR_LINES), | |
7 | 148 EX(CMD_argument, "argument", ex_argument, |
6398 | 149 BANG|RANGE|NOTADR|COUNT|EXTRA|EDITCMD|ARGOPT|TRLBAR, |
150 ADDR_ARGUMENTS), | |
7 | 151 EX(CMD_ascii, "ascii", do_ascii, |
6398 | 152 TRLBAR|SBOXOK|CMDWIN, |
153 ADDR_LINES), | |
7 | 154 EX(CMD_autocmd, "autocmd", ex_autocmd, |
6398 | 155 BANG|EXTRA|NOTRLCOM|USECTRLV|CMDWIN, |
156 ADDR_LINES), | |
7 | 157 EX(CMD_augroup, "augroup", ex_autocmd, |
6398 | 158 BANG|WORD1|TRLBAR|CMDWIN, |
159 ADDR_LINES), | |
7 | 160 EX(CMD_aunmenu, "aunmenu", ex_menu, |
6398 | 161 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
162 ADDR_LINES), | |
7 | 163 EX(CMD_buffer, "buffer", ex_buffer, |
6398 | 164 BANG|RANGE|NOTADR|BUFNAME|BUFUNL|COUNT|EXTRA|EDITCMD|TRLBAR, |
6424 | 165 ADDR_BUFFERS), |
7 | 166 EX(CMD_bNext, "bNext", ex_bprevious, |
6398 | 167 BANG|RANGE|NOTADR|COUNT|EDITCMD|TRLBAR, |
168 ADDR_LINES), | |
7 | 169 EX(CMD_ball, "ball", ex_buffer_all, |
6398 | 170 RANGE|NOTADR|COUNT|TRLBAR, |
171 ADDR_LINES), | |
7 | 172 EX(CMD_badd, "badd", ex_edit, |
6398 | 173 NEEDARG|FILE1|EDITCMD|TRLBAR|CMDWIN, |
174 ADDR_LINES), | |
7 | 175 EX(CMD_bdelete, "bdelete", ex_bunload, |
6398 | 176 BANG|RANGE|NOTADR|BUFNAME|COUNT|EXTRA|TRLBAR, |
6516 | 177 ADDR_BUFFERS), |
7 | 178 EX(CMD_behave, "behave", ex_behave, |
6398 | 179 NEEDARG|WORD1|TRLBAR|CMDWIN, |
180 ADDR_LINES), | |
7 | 181 EX(CMD_belowright, "belowright", ex_wrongmodifier, |
6398 | 182 NEEDARG|EXTRA|NOTRLCOM, |
183 ADDR_LINES), | |
7 | 184 EX(CMD_bfirst, "bfirst", ex_brewind, |
6398 | 185 BANG|RANGE|NOTADR|EDITCMD|TRLBAR, |
186 ADDR_LINES), | |
7 | 187 EX(CMD_blast, "blast", ex_blast, |
6398 | 188 BANG|RANGE|NOTADR|EDITCMD|TRLBAR, |
189 ADDR_LINES), | |
7 | 190 EX(CMD_bmodified, "bmodified", ex_bmodified, |
6398 | 191 BANG|RANGE|NOTADR|COUNT|EDITCMD|TRLBAR, |
192 ADDR_LINES), | |
7 | 193 EX(CMD_bnext, "bnext", ex_bnext, |
6398 | 194 BANG|RANGE|NOTADR|COUNT|EDITCMD|TRLBAR, |
195 ADDR_LINES), | |
7 | 196 EX(CMD_botright, "botright", ex_wrongmodifier, |
6398 | 197 NEEDARG|EXTRA|NOTRLCOM, |
198 ADDR_LINES), | |
7 | 199 EX(CMD_bprevious, "bprevious", ex_bprevious, |
6398 | 200 BANG|RANGE|NOTADR|COUNT|EDITCMD|TRLBAR, |
201 ADDR_LINES), | |
7 | 202 EX(CMD_brewind, "brewind", ex_brewind, |
6398 | 203 BANG|RANGE|NOTADR|EDITCMD|TRLBAR, |
204 ADDR_LINES), | |
7 | 205 EX(CMD_break, "break", ex_break, |
6398 | 206 TRLBAR|SBOXOK|CMDWIN, |
207 ADDR_LINES), | |
7 | 208 EX(CMD_breakadd, "breakadd", ex_breakadd, |
6398 | 209 EXTRA|TRLBAR|CMDWIN, |
210 ADDR_LINES), | |
7 | 211 EX(CMD_breakdel, "breakdel", ex_breakdel, |
6398 | 212 EXTRA|TRLBAR|CMDWIN, |
213 ADDR_LINES), | |
7 | 214 EX(CMD_breaklist, "breaklist", ex_breaklist, |
6398 | 215 EXTRA|TRLBAR|CMDWIN, |
216 ADDR_LINES), | |
7 | 217 EX(CMD_browse, "browse", ex_wrongmodifier, |
6398 | 218 NEEDARG|EXTRA|NOTRLCOM|CMDWIN, |
219 ADDR_LINES), | |
7 | 220 EX(CMD_buffers, "buffers", buflist_list, |
6945 | 221 BANG|EXTRA|TRLBAR|CMDWIN, |
6398 | 222 ADDR_LINES), |
7 | 223 EX(CMD_bufdo, "bufdo", ex_listdo, |
6474 | 224 BANG|NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL, |
225 ADDR_BUFFERS), | |
7 | 226 EX(CMD_bunload, "bunload", ex_bunload, |
6398 | 227 BANG|RANGE|NOTADR|BUFNAME|COUNT|EXTRA|TRLBAR, |
228 ADDR_LOADED_BUFFERS), | |
7 | 229 EX(CMD_bwipeout, "bwipeout", ex_bunload, |
6398 | 230 BANG|RANGE|NOTADR|BUFNAME|BUFUNL|COUNT|EXTRA|TRLBAR, |
6424 | 231 ADDR_BUFFERS), |
7 | 232 EX(CMD_change, "change", ex_change, |
6398 | 233 BANG|WHOLEFOLD|RANGE|COUNT|TRLBAR|CMDWIN|MODIFY, |
234 ADDR_LINES), | |
7 | 235 EX(CMD_cNext, "cNext", ex_cnext, |
6398 | 236 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
237 ADDR_LINES), | |
7 | 238 EX(CMD_cNfile, "cNfile", ex_cnext, |
6398 | 239 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
240 ADDR_LINES), | |
7 | 241 EX(CMD_cabbrev, "cabbrev", ex_abbreviate, |
6398 | 242 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
243 ADDR_LINES), | |
7 | 244 EX(CMD_cabclear, "cabclear", ex_abclear, |
6398 | 245 EXTRA|TRLBAR|CMDWIN, |
246 ADDR_LINES), | |
658 | 247 EX(CMD_caddbuffer, "caddbuffer", ex_cbuffer, |
6398 | 248 RANGE|NOTADR|WORD1|TRLBAR, |
249 ADDR_LINES), | |
625 | 250 EX(CMD_caddexpr, "caddexpr", ex_cexpr, |
6398 | 251 NEEDARG|WORD1|NOTRLCOM|TRLBAR, |
252 ADDR_LINES), | |
446 | 253 EX(CMD_caddfile, "caddfile", ex_cfile, |
6398 | 254 TRLBAR|FILE1, |
255 ADDR_LINES), | |
7 | 256 EX(CMD_call, "call", ex_call, |
6398 | 257 RANGE|NEEDARG|EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
258 ADDR_LINES), | |
7 | 259 EX(CMD_catch, "catch", ex_catch, |
6398 | 260 EXTRA|SBOXOK|CMDWIN, |
261 ADDR_LINES), | |
41 | 262 EX(CMD_cbuffer, "cbuffer", ex_cbuffer, |
6398 | 263 BANG|RANGE|NOTADR|WORD1|TRLBAR, |
264 ADDR_LINES), | |
9432
abb72f0b9e06
commit https://github.com/vim/vim/commit/dcb170018642ec144cd87d9d9fe076575b8d1263
Christian Brabandt <cb@256bit.org>
parents:
9284
diff
changeset
|
265 EX(CMD_cbottom, "cbottom", ex_cbottom, |
abb72f0b9e06
commit https://github.com/vim/vim/commit/dcb170018642ec144cd87d9d9fe076575b8d1263
Christian Brabandt <cb@256bit.org>
parents:
9284
diff
changeset
|
266 TRLBAR, |
abb72f0b9e06
commit https://github.com/vim/vim/commit/dcb170018642ec144cd87d9d9fe076575b8d1263
Christian Brabandt <cb@256bit.org>
parents:
9284
diff
changeset
|
267 ADDR_LINES), |
7 | 268 EX(CMD_cc, "cc", ex_cc, |
6398 | 269 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
270 ADDR_LINES), | |
7 | 271 EX(CMD_cclose, "cclose", ex_cclose, |
6398 | 272 RANGE|NOTADR|COUNT|TRLBAR, |
273 ADDR_LINES), | |
7 | 274 EX(CMD_cd, "cd", ex_cd, |
6398 | 275 BANG|FILE1|TRLBAR|CMDWIN, |
276 ADDR_LINES), | |
7092
64e30831fa42
commit https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
Christian Brabandt <cb@256bit.org>
parents:
6945
diff
changeset
|
277 EX(CMD_cdo, "cdo", ex_listdo, |
64e30831fa42
commit https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
Christian Brabandt <cb@256bit.org>
parents:
6945
diff
changeset
|
278 BANG|NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL, |
64e30831fa42
commit https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
Christian Brabandt <cb@256bit.org>
parents:
6945
diff
changeset
|
279 ADDR_QUICKFIX), |
7 | 280 EX(CMD_center, "center", ex_align, |
6398 | 281 TRLBAR|RANGE|WHOLEFOLD|EXTRA|CMDWIN|MODIFY, |
282 ADDR_LINES), | |
446 | 283 EX(CMD_cexpr, "cexpr", ex_cexpr, |
6398 | 284 NEEDARG|WORD1|NOTRLCOM|TRLBAR|BANG, |
285 ADDR_LINES), | |
7 | 286 EX(CMD_cfile, "cfile", ex_cfile, |
6398 | 287 TRLBAR|FILE1|BANG, |
288 ADDR_LINES), | |
7092
64e30831fa42
commit https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
Christian Brabandt <cb@256bit.org>
parents:
6945
diff
changeset
|
289 EX(CMD_cfdo, "cfdo", ex_listdo, |
64e30831fa42
commit https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
Christian Brabandt <cb@256bit.org>
parents:
6945
diff
changeset
|
290 BANG|NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL, |
64e30831fa42
commit https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
Christian Brabandt <cb@256bit.org>
parents:
6945
diff
changeset
|
291 ADDR_QUICKFIX), |
7 | 292 EX(CMD_cfirst, "cfirst", ex_cc, |
6398 | 293 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
294 ADDR_LINES), | |
800 | 295 EX(CMD_cgetfile, "cgetfile", ex_cfile, |
6398 | 296 TRLBAR|FILE1, |
297 ADDR_LINES), | |
798 | 298 EX(CMD_cgetbuffer, "cgetbuffer", ex_cbuffer, |
6398 | 299 RANGE|NOTADR|WORD1|TRLBAR, |
300 ADDR_LINES), | |
798 | 301 EX(CMD_cgetexpr, "cgetexpr", ex_cexpr, |
6398 | 302 NEEDARG|WORD1|NOTRLCOM|TRLBAR, |
303 ADDR_LINES), | |
7 | 304 EX(CMD_chdir, "chdir", ex_cd, |
6398 | 305 BANG|FILE1|TRLBAR|CMDWIN, |
306 ADDR_LINES), | |
7 | 307 EX(CMD_changes, "changes", ex_changes, |
6398 | 308 TRLBAR|CMDWIN, |
309 ADDR_LINES), | |
7 | 310 EX(CMD_checkpath, "checkpath", ex_checkpath, |
6398 | 311 TRLBAR|BANG|CMDWIN, |
312 ADDR_LINES), | |
7 | 313 EX(CMD_checktime, "checktime", ex_checktime, |
6398 | 314 RANGE|NOTADR|BUFNAME|COUNT|EXTRA|TRLBAR, |
315 ADDR_LINES), | |
9538
26da1efa9e46
commit https://github.com/vim/vim/commit/f6acffbe83e622542d9fdf3066f51933e46e4954
Christian Brabandt <cb@256bit.org>
parents:
9458
diff
changeset
|
316 EX(CMD_chistory, "chistory", qf_history, |
26da1efa9e46
commit https://github.com/vim/vim/commit/f6acffbe83e622542d9fdf3066f51933e46e4954
Christian Brabandt <cb@256bit.org>
parents:
9458
diff
changeset
|
317 TRLBAR, |
26da1efa9e46
commit https://github.com/vim/vim/commit/f6acffbe83e622542d9fdf3066f51933e46e4954
Christian Brabandt <cb@256bit.org>
parents:
9458
diff
changeset
|
318 ADDR_LINES), |
7 | 319 EX(CMD_clist, "clist", qf_list, |
6398 | 320 BANG|EXTRA|TRLBAR|CMDWIN, |
321 ADDR_LINES), | |
7 | 322 EX(CMD_clast, "clast", ex_cc, |
6398 | 323 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
324 ADDR_LINES), | |
7 | 325 EX(CMD_close, "close", ex_close, |
6398 | 326 BANG|RANGE|NOTADR|COUNT|TRLBAR|CMDWIN, |
327 ADDR_WINDOWS), | |
9284
78712a2f687a
commit https://github.com/vim/vim/commit/2d35899721da0e9359a9fe1059554f8c4ea7f0c1
Christian Brabandt <cb@256bit.org>
parents:
8903
diff
changeset
|
328 EX(CMD_clearjumps, "clearjumps", ex_clearjumps, |
78712a2f687a
commit https://github.com/vim/vim/commit/2d35899721da0e9359a9fe1059554f8c4ea7f0c1
Christian Brabandt <cb@256bit.org>
parents:
8903
diff
changeset
|
329 TRLBAR|CMDWIN, |
78712a2f687a
commit https://github.com/vim/vim/commit/2d35899721da0e9359a9fe1059554f8c4ea7f0c1
Christian Brabandt <cb@256bit.org>
parents:
8903
diff
changeset
|
330 ADDR_LINES), |
7 | 331 EX(CMD_cmap, "cmap", ex_map, |
6398 | 332 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
333 ADDR_LINES), | |
7 | 334 EX(CMD_cmapclear, "cmapclear", ex_mapclear, |
6398 | 335 EXTRA|TRLBAR|CMDWIN, |
336 ADDR_LINES), | |
7 | 337 EX(CMD_cmenu, "cmenu", ex_menu, |
6398 | 338 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
339 ADDR_LINES), | |
7 | 340 EX(CMD_cnext, "cnext", ex_cnext, |
6398 | 341 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
342 ADDR_LINES), | |
7 | 343 EX(CMD_cnewer, "cnewer", qf_age, |
6398 | 344 RANGE|NOTADR|COUNT|TRLBAR, |
345 ADDR_LINES), | |
7 | 346 EX(CMD_cnfile, "cnfile", ex_cnext, |
6398 | 347 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
348 ADDR_LINES), | |
7 | 349 EX(CMD_cnoremap, "cnoremap", ex_map, |
6398 | 350 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
351 ADDR_LINES), | |
7 | 352 EX(CMD_cnoreabbrev, "cnoreabbrev", ex_abbreviate, |
6398 | 353 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
354 ADDR_LINES), | |
7 | 355 EX(CMD_cnoremenu, "cnoremenu", ex_menu, |
6398 | 356 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
357 ADDR_LINES), | |
7 | 358 EX(CMD_copy, "copy", ex_copymove, |
6398 | 359 RANGE|WHOLEFOLD|EXTRA|TRLBAR|CMDWIN|MODIFY, |
360 ADDR_LINES), | |
7 | 361 EX(CMD_colder, "colder", qf_age, |
6398 | 362 RANGE|NOTADR|COUNT|TRLBAR, |
363 ADDR_LINES), | |
7 | 364 EX(CMD_colorscheme, "colorscheme", ex_colorscheme, |
6398 | 365 WORD1|TRLBAR|CMDWIN, |
366 ADDR_LINES), | |
7 | 367 EX(CMD_command, "command", ex_command, |
6398 | 368 EXTRA|BANG|NOTRLCOM|USECTRLV|CMDWIN, |
369 ADDR_LINES), | |
7 | 370 EX(CMD_comclear, "comclear", ex_comclear, |
6398 | 371 TRLBAR|CMDWIN, |
372 ADDR_LINES), | |
7 | 373 EX(CMD_compiler, "compiler", ex_compiler, |
6398 | 374 BANG|TRLBAR|WORD1|CMDWIN, |
375 ADDR_LINES), | |
7 | 376 EX(CMD_continue, "continue", ex_continue, |
6398 | 377 TRLBAR|SBOXOK|CMDWIN, |
378 ADDR_LINES), | |
7 | 379 EX(CMD_confirm, "confirm", ex_wrongmodifier, |
6398 | 380 NEEDARG|EXTRA|NOTRLCOM|CMDWIN, |
381 ADDR_LINES), | |
7 | 382 EX(CMD_copen, "copen", ex_copen, |
6398 | 383 RANGE|NOTADR|COUNT|TRLBAR, |
384 ADDR_LINES), | |
7 | 385 EX(CMD_cprevious, "cprevious", ex_cnext, |
6398 | 386 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
387 ADDR_LINES), | |
7 | 388 EX(CMD_cpfile, "cpfile", ex_cnext, |
6398 | 389 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
390 ADDR_LINES), | |
7 | 391 EX(CMD_cquit, "cquit", ex_cquit, |
6398 | 392 TRLBAR|BANG, |
393 ADDR_LINES), | |
7 | 394 EX(CMD_crewind, "crewind", ex_cc, |
6398 | 395 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
396 ADDR_LINES), | |
10373
bd674706408a
commit https://github.com/vim/vim/commit/d4db7719bdfbc54df396eac08d8cbb2389feacf4
Christian Brabandt <cb@256bit.org>
parents:
10212
diff
changeset
|
397 EX(CMD_cscope, "cscope", ex_cscope, |
6398 | 398 EXTRA|NOTRLCOM|XFILE, |
399 ADDR_LINES), | |
10373
bd674706408a
commit https://github.com/vim/vim/commit/d4db7719bdfbc54df396eac08d8cbb2389feacf4
Christian Brabandt <cb@256bit.org>
parents:
10212
diff
changeset
|
400 EX(CMD_cstag, "cstag", ex_cstag, |
6398 | 401 BANG|TRLBAR|WORD1, |
402 ADDR_LINES), | |
7 | 403 EX(CMD_cunmap, "cunmap", ex_unmap, |
6398 | 404 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
405 ADDR_LINES), | |
7 | 406 EX(CMD_cunabbrev, "cunabbrev", ex_abbreviate, |
6398 | 407 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
408 ADDR_LINES), | |
7 | 409 EX(CMD_cunmenu, "cunmenu", ex_menu, |
6398 | 410 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
411 ADDR_LINES), | |
7 | 412 EX(CMD_cwindow, "cwindow", ex_cwindow, |
6398 | 413 RANGE|NOTADR|COUNT|TRLBAR, |
414 ADDR_LINES), | |
7 | 415 EX(CMD_delete, "delete", ex_operators, |
6398 | 416 RANGE|WHOLEFOLD|REGSTR|COUNT|TRLBAR|CMDWIN|MODIFY, |
417 ADDR_LINES), | |
24 | 418 EX(CMD_delmarks, "delmarks", ex_delmarks, |
6398 | 419 BANG|EXTRA|TRLBAR|CMDWIN, |
420 ADDR_LINES), | |
7 | 421 EX(CMD_debug, "debug", ex_debug, |
6398 | 422 NEEDARG|EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
423 ADDR_LINES), | |
7 | 424 EX(CMD_debuggreedy, "debuggreedy", ex_debuggreedy, |
6398 | 425 RANGE|NOTADR|ZEROR|TRLBAR|CMDWIN, |
426 ADDR_LINES), | |
7 | 427 EX(CMD_delcommand, "delcommand", ex_delcommand, |
6398 | 428 NEEDARG|WORD1|TRLBAR|CMDWIN, |
429 ADDR_LINES), | |
7 | 430 EX(CMD_delfunction, "delfunction", ex_delfunction, |
11545
1780e6fecb30
patch 8.0.0655: not easy to make sure a function does not exist
Christian Brabandt <cb@256bit.org>
parents:
11350
diff
changeset
|
431 BANG|NEEDARG|WORD1|CMDWIN, |
6398 | 432 ADDR_LINES), |
7 | 433 EX(CMD_display, "display", ex_display, |
6398 | 434 EXTRA|NOTRLCOM|TRLBAR|SBOXOK|CMDWIN, |
435 ADDR_LINES), | |
7 | 436 EX(CMD_diffupdate, "diffupdate", ex_diffupdate, |
6398 | 437 BANG|TRLBAR, |
438 ADDR_LINES), | |
7 | 439 EX(CMD_diffget, "diffget", ex_diffgetput, |
6398 | 440 RANGE|EXTRA|TRLBAR|MODIFY, |
441 ADDR_LINES), | |
16 | 442 EX(CMD_diffoff, "diffoff", ex_diffoff, |
6398 | 443 BANG|TRLBAR, |
444 ADDR_LINES), | |
7 | 445 EX(CMD_diffpatch, "diffpatch", ex_diffpatch, |
6398 | 446 EXTRA|FILE1|TRLBAR|MODIFY, |
447 ADDR_LINES), | |
7 | 448 EX(CMD_diffput, "diffput", ex_diffgetput, |
6398 | 449 RANGE|EXTRA|TRLBAR, |
450 ADDR_LINES), | |
7 | 451 EX(CMD_diffsplit, "diffsplit", ex_diffsplit, |
6398 | 452 EXTRA|FILE1|TRLBAR, |
453 ADDR_LINES), | |
7 | 454 EX(CMD_diffthis, "diffthis", ex_diffthis, |
6398 | 455 TRLBAR, |
456 ADDR_LINES), | |
7 | 457 EX(CMD_digraphs, "digraphs", ex_digraphs, |
6398 | 458 EXTRA|TRLBAR|CMDWIN, |
459 ADDR_LINES), | |
7 | 460 EX(CMD_djump, "djump", ex_findpat, |
6398 | 461 BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA, |
462 ADDR_LINES), | |
7 | 463 EX(CMD_dlist, "dlist", ex_findpat, |
6398 | 464 BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA|CMDWIN, |
465 ADDR_LINES), | |
7 | 466 EX(CMD_doautocmd, "doautocmd", ex_doautocmd, |
6398 | 467 EXTRA|TRLBAR|CMDWIN, |
468 ADDR_LINES), | |
7 | 469 EX(CMD_doautoall, "doautoall", ex_doautoall, |
6398 | 470 EXTRA|TRLBAR|CMDWIN, |
471 ADDR_LINES), | |
7 | 472 EX(CMD_drop, "drop", ex_drop, |
6398 | 473 FILES|EDITCMD|NEEDARG|ARGOPT|TRLBAR, |
474 ADDR_LINES), | |
7 | 475 EX(CMD_dsearch, "dsearch", ex_findpat, |
6398 | 476 BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA|CMDWIN, |
477 ADDR_LINES), | |
7 | 478 EX(CMD_dsplit, "dsplit", ex_findpat, |
6398 | 479 BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA, |
480 ADDR_LINES), | |
7 | 481 EX(CMD_edit, "edit", ex_edit, |
6398 | 482 BANG|FILE1|EDITCMD|ARGOPT|TRLBAR, |
483 ADDR_LINES), | |
762 | 484 EX(CMD_earlier, "earlier", ex_later, |
6398 | 485 TRLBAR|EXTRA|NOSPC|CMDWIN, |
486 ADDR_LINES), | |
7 | 487 EX(CMD_echo, "echo", ex_echo, |
6398 | 488 EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
489 ADDR_LINES), | |
7 | 490 EX(CMD_echoerr, "echoerr", ex_execute, |
6398 | 491 EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
492 ADDR_LINES), | |
7 | 493 EX(CMD_echohl, "echohl", ex_echohl, |
6398 | 494 EXTRA|TRLBAR|SBOXOK|CMDWIN, |
495 ADDR_LINES), | |
7 | 496 EX(CMD_echomsg, "echomsg", ex_execute, |
6398 | 497 EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
498 ADDR_LINES), | |
7 | 499 EX(CMD_echon, "echon", ex_echo, |
6398 | 500 EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
501 ADDR_LINES), | |
7 | 502 EX(CMD_else, "else", ex_else, |
6398 | 503 TRLBAR|SBOXOK|CMDWIN, |
504 ADDR_LINES), | |
7 | 505 EX(CMD_elseif, "elseif", ex_else, |
6398 | 506 EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
507 ADDR_LINES), | |
7 | 508 EX(CMD_emenu, "emenu", ex_emenu, |
6398 | 509 NEEDARG|EXTRA|TRLBAR|NOTRLCOM|RANGE|NOTADR|CMDWIN, |
510 ADDR_LINES), | |
7 | 511 EX(CMD_endif, "endif", ex_endif, |
6398 | 512 TRLBAR|SBOXOK|CMDWIN, |
513 ADDR_LINES), | |
7 | 514 EX(CMD_endfunction, "endfunction", ex_endfunction, |
6398 | 515 TRLBAR|CMDWIN, |
516 ADDR_LINES), | |
76 | 517 EX(CMD_endfor, "endfor", ex_endwhile, |
6398 | 518 TRLBAR|SBOXOK|CMDWIN, |
519 ADDR_LINES), | |
7 | 520 EX(CMD_endtry, "endtry", ex_endtry, |
6398 | 521 TRLBAR|SBOXOK|CMDWIN, |
522 ADDR_LINES), | |
7 | 523 EX(CMD_endwhile, "endwhile", ex_endwhile, |
6398 | 524 TRLBAR|SBOXOK|CMDWIN, |
525 ADDR_LINES), | |
7 | 526 EX(CMD_enew, "enew", ex_edit, |
6398 | 527 BANG|TRLBAR, |
528 ADDR_LINES), | |
7 | 529 EX(CMD_ex, "ex", ex_edit, |
6398 | 530 BANG|FILE1|EDITCMD|ARGOPT|TRLBAR, |
531 ADDR_LINES), | |
7 | 532 EX(CMD_execute, "execute", ex_execute, |
6398 | 533 EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
534 ADDR_LINES), | |
7 | 535 EX(CMD_exit, "exit", ex_exit, |
6398 | 536 RANGE|WHOLEFOLD|BANG|FILE1|ARGOPT|DFLALL|TRLBAR|CMDWIN, |
537 ADDR_LINES), | |
40 | 538 EX(CMD_exusage, "exusage", ex_exusage, |
6398 | 539 TRLBAR, |
540 ADDR_LINES), | |
7 | 541 EX(CMD_file, "file", ex_file, |
6398 | 542 RANGE|NOTADR|ZEROR|BANG|FILE1|TRLBAR, |
543 ADDR_LINES), | |
7 | 544 EX(CMD_files, "files", buflist_list, |
6945 | 545 BANG|EXTRA|TRLBAR|CMDWIN, |
6398 | 546 ADDR_LINES), |
7 | 547 EX(CMD_filetype, "filetype", ex_filetype, |
6398 | 548 EXTRA|TRLBAR|CMDWIN, |
549 ADDR_LINES), | |
9941
e975914c17e9
commit https://github.com/vim/vim/commit/7b668e83d0635d082b7ec90d7d2aa30a9d7d8928
Christian Brabandt <cb@256bit.org>
parents:
9915
diff
changeset
|
550 EX(CMD_filter, "filter", ex_wrongmodifier, |
9980
b222552cf0c4
commit https://github.com/vim/vim/commit/d29459baa61819e59961804ed258efac5733ec70
Christian Brabandt <cb@256bit.org>
parents:
9941
diff
changeset
|
551 BANG|NEEDARG|EXTRA|NOTRLCOM, |
9941
e975914c17e9
commit https://github.com/vim/vim/commit/7b668e83d0635d082b7ec90d7d2aa30a9d7d8928
Christian Brabandt <cb@256bit.org>
parents:
9915
diff
changeset
|
552 ADDR_LINES), |
7 | 553 EX(CMD_find, "find", ex_find, |
6398 | 554 RANGE|NOTADR|BANG|FILE1|EDITCMD|ARGOPT|TRLBAR, |
555 ADDR_LINES), | |
7 | 556 EX(CMD_finally, "finally", ex_finally, |
6398 | 557 TRLBAR|SBOXOK|CMDWIN, |
558 ADDR_LINES), | |
7 | 559 EX(CMD_finish, "finish", ex_finish, |
6398 | 560 TRLBAR|SBOXOK|CMDWIN, |
561 ADDR_LINES), | |
7 | 562 EX(CMD_first, "first", ex_rewind, |
6398 | 563 EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR, |
564 ADDR_LINES), | |
7 | 565 EX(CMD_fixdel, "fixdel", do_fixdel, |
6398 | 566 TRLBAR|CMDWIN, |
567 ADDR_LINES), | |
7 | 568 EX(CMD_fold, "fold", ex_fold, |
6398 | 569 RANGE|WHOLEFOLD|TRLBAR|SBOXOK|CMDWIN, |
570 ADDR_LINES), | |
7 | 571 EX(CMD_foldclose, "foldclose", ex_foldopen, |
6398 | 572 RANGE|BANG|WHOLEFOLD|TRLBAR|SBOXOK|CMDWIN, |
573 ADDR_LINES), | |
7 | 574 EX(CMD_folddoopen, "folddoopen", ex_folddo, |
6398 | 575 RANGE|DFLALL|NEEDARG|EXTRA|NOTRLCOM, |
576 ADDR_LINES), | |
7 | 577 EX(CMD_folddoclosed, "folddoclosed", ex_folddo, |
6398 | 578 RANGE|DFLALL|NEEDARG|EXTRA|NOTRLCOM, |
579 ADDR_LINES), | |
7 | 580 EX(CMD_foldopen, "foldopen", ex_foldopen, |
6398 | 581 RANGE|BANG|WHOLEFOLD|TRLBAR|SBOXOK|CMDWIN, |
582 ADDR_LINES), | |
76 | 583 EX(CMD_for, "for", ex_while, |
6398 | 584 EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
585 ADDR_LINES), | |
7 | 586 EX(CMD_function, "function", ex_function, |
6398 | 587 EXTRA|BANG|CMDWIN, |
588 ADDR_LINES), | |
7 | 589 EX(CMD_global, "global", ex_global, |
6398 | 590 RANGE|WHOLEFOLD|BANG|EXTRA|DFLALL|SBOXOK|CMDWIN, |
591 ADDR_LINES), | |
7 | 592 EX(CMD_goto, "goto", ex_goto, |
6398 | 593 RANGE|NOTADR|COUNT|TRLBAR|SBOXOK|CMDWIN, |
594 ADDR_LINES), | |
7 | 595 EX(CMD_grep, "grep", ex_make, |
6398 | 596 RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE, |
597 ADDR_LINES), | |
7 | 598 EX(CMD_grepadd, "grepadd", ex_make, |
6398 | 599 RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE, |
600 ADDR_LINES), | |
7 | 601 EX(CMD_gui, "gui", ex_gui, |
6398 | 602 BANG|FILES|EDITCMD|ARGOPT|TRLBAR|CMDWIN, |
603 ADDR_LINES), | |
7 | 604 EX(CMD_gvim, "gvim", ex_gui, |
6398 | 605 BANG|FILES|EDITCMD|ARGOPT|TRLBAR|CMDWIN, |
606 ADDR_LINES), | |
7 | 607 EX(CMD_help, "help", ex_help, |
6398 | 608 BANG|EXTRA|NOTRLCOM, |
609 ADDR_LINES), | |
6228 | 610 EX(CMD_helpclose, "helpclose", ex_helpclose, |
6398 | 611 RANGE|NOTADR|COUNT|TRLBAR, |
612 ADDR_LINES), | |
7 | 613 EX(CMD_helpfind, "helpfind", ex_helpfind, |
6398 | 614 EXTRA|NOTRLCOM, |
615 ADDR_LINES), | |
7 | 616 EX(CMD_helpgrep, "helpgrep", ex_helpgrep, |
6398 | 617 EXTRA|NOTRLCOM|NEEDARG, |
618 ADDR_LINES), | |
7 | 619 EX(CMD_helptags, "helptags", ex_helptags, |
6398 | 620 NEEDARG|FILES|TRLBAR|CMDWIN, |
621 ADDR_LINES), | |
7 | 622 EX(CMD_hardcopy, "hardcopy", ex_hardcopy, |
6398 | 623 RANGE|COUNT|EXTRA|TRLBAR|DFLALL|BANG, |
624 ADDR_LINES), | |
7 | 625 EX(CMD_highlight, "highlight", ex_highlight, |
6398 | 626 BANG|EXTRA|TRLBAR|SBOXOK|CMDWIN, |
627 ADDR_LINES), | |
7 | 628 EX(CMD_hide, "hide", ex_hide, |
10383
b59df2194b01
commit https://github.com/vim/vim/commit/2256c9947164229c0960803e2a2992b793c23298
Christian Brabandt <cb@256bit.org>
parents:
10373
diff
changeset
|
629 BANG|RANGE|NOTADR|COUNT|EXTRA|TRLBAR, |
6398 | 630 ADDR_WINDOWS), |
7 | 631 EX(CMD_history, "history", ex_history, |
6398 | 632 EXTRA|TRLBAR|CMDWIN, |
633 ADDR_LINES), | |
7 | 634 EX(CMD_insert, "insert", ex_append, |
6398 | 635 BANG|RANGE|TRLBAR|CMDWIN|MODIFY, |
636 ADDR_LINES), | |
7 | 637 EX(CMD_iabbrev, "iabbrev", ex_abbreviate, |
6398 | 638 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
639 ADDR_LINES), | |
7 | 640 EX(CMD_iabclear, "iabclear", ex_abclear, |
6398 | 641 EXTRA|TRLBAR|CMDWIN, |
642 ADDR_LINES), | |
7 | 643 EX(CMD_if, "if", ex_if, |
6398 | 644 EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
645 ADDR_LINES), | |
7 | 646 EX(CMD_ijump, "ijump", ex_findpat, |
6398 | 647 BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA, |
648 ADDR_LINES), | |
7 | 649 EX(CMD_ilist, "ilist", ex_findpat, |
6398 | 650 BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA|CMDWIN, |
651 ADDR_LINES), | |
7 | 652 EX(CMD_imap, "imap", ex_map, |
6398 | 653 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
654 ADDR_LINES), | |
7 | 655 EX(CMD_imapclear, "imapclear", ex_mapclear, |
6398 | 656 EXTRA|TRLBAR|CMDWIN, |
657 ADDR_LINES), | |
7 | 658 EX(CMD_imenu, "imenu", ex_menu, |
6398 | 659 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
660 ADDR_LINES), | |
7 | 661 EX(CMD_inoremap, "inoremap", ex_map, |
6398 | 662 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
663 ADDR_LINES), | |
7 | 664 EX(CMD_inoreabbrev, "inoreabbrev", ex_abbreviate, |
6398 | 665 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
666 ADDR_LINES), | |
7 | 667 EX(CMD_inoremenu, "inoremenu", ex_menu, |
6398 | 668 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
669 ADDR_LINES), | |
7 | 670 EX(CMD_intro, "intro", ex_intro, |
6398 | 671 TRLBAR|CMDWIN, |
672 ADDR_LINES), | |
7 | 673 EX(CMD_isearch, "isearch", ex_findpat, |
6398 | 674 BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA|CMDWIN, |
675 ADDR_LINES), | |
7 | 676 EX(CMD_isplit, "isplit", ex_findpat, |
6398 | 677 BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA, |
678 ADDR_LINES), | |
7 | 679 EX(CMD_iunmap, "iunmap", ex_unmap, |
6398 | 680 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
681 ADDR_LINES), | |
7 | 682 EX(CMD_iunabbrev, "iunabbrev", ex_abbreviate, |
6398 | 683 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
684 ADDR_LINES), | |
7 | 685 EX(CMD_iunmenu, "iunmenu", ex_menu, |
6398 | 686 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
687 ADDR_LINES), | |
7 | 688 EX(CMD_join, "join", ex_join, |
6398 | 689 BANG|RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN|MODIFY, |
690 ADDR_LINES), | |
7 | 691 EX(CMD_jumps, "jumps", ex_jumps, |
6398 | 692 TRLBAR|CMDWIN, |
693 ADDR_LINES), | |
7 | 694 EX(CMD_k, "k", ex_mark, |
6398 | 695 RANGE|WORD1|TRLBAR|SBOXOK|CMDWIN, |
696 ADDR_LINES), | |
7 | 697 EX(CMD_keepmarks, "keepmarks", ex_wrongmodifier, |
6398 | 698 NEEDARG|EXTRA|NOTRLCOM, |
699 ADDR_LINES), | |
7 | 700 EX(CMD_keepjumps, "keepjumps", ex_wrongmodifier, |
6398 | 701 NEEDARG|EXTRA|NOTRLCOM, |
702 ADDR_LINES), | |
5467 | 703 EX(CMD_keeppatterns, "keeppatterns", ex_wrongmodifier, |
6398 | 704 NEEDARG|EXTRA|NOTRLCOM, |
705 ADDR_LINES), | |
22 | 706 EX(CMD_keepalt, "keepalt", ex_wrongmodifier, |
6398 | 707 NEEDARG|EXTRA|NOTRLCOM, |
708 ADDR_LINES), | |
7 | 709 EX(CMD_list, "list", ex_print, |
6398 | 710 RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN, |
711 ADDR_LINES), | |
644 | 712 EX(CMD_lNext, "lNext", ex_cnext, |
6398 | 713 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
714 ADDR_LINES), | |
644 | 715 EX(CMD_lNfile, "lNfile", ex_cnext, |
6398 | 716 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
717 ADDR_LINES), | |
7 | 718 EX(CMD_last, "last", ex_last, |
6398 | 719 EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR, |
720 ADDR_LINES), | |
7 | 721 EX(CMD_language, "language", ex_language, |
6398 | 722 EXTRA|TRLBAR|CMDWIN, |
723 ADDR_LINES), | |
644 | 724 EX(CMD_laddexpr, "laddexpr", ex_cexpr, |
6398 | 725 NEEDARG|WORD1|NOTRLCOM|TRLBAR, |
726 ADDR_LINES), | |
658 | 727 EX(CMD_laddbuffer, "laddbuffer", ex_cbuffer, |
6398 | 728 RANGE|NOTADR|WORD1|TRLBAR, |
729 ADDR_LINES), | |
644 | 730 EX(CMD_laddfile, "laddfile", ex_cfile, |
6398 | 731 TRLBAR|FILE1, |
732 ADDR_LINES), | |
762 | 733 EX(CMD_later, "later", ex_later, |
6398 | 734 TRLBAR|EXTRA|NOSPC|CMDWIN, |
735 ADDR_LINES), | |
10212
3e7f2754ff24
commit https://github.com/vim/vim/commit/ebdd90ac282909c0bfcd6e83e70505abbbd5a38d
Christian Brabandt <cb@256bit.org>
parents:
10042
diff
changeset
|
736 EX(CMD_lbuffer, "lbuffer", ex_cbuffer, |
3e7f2754ff24
commit https://github.com/vim/vim/commit/ebdd90ac282909c0bfcd6e83e70505abbbd5a38d
Christian Brabandt <cb@256bit.org>
parents:
10042
diff
changeset
|
737 BANG|RANGE|NOTADR|WORD1|TRLBAR, |
3e7f2754ff24
commit https://github.com/vim/vim/commit/ebdd90ac282909c0bfcd6e83e70505abbbd5a38d
Christian Brabandt <cb@256bit.org>
parents:
10042
diff
changeset
|
738 ADDR_LINES), |
9458
374afcf9d11d
commit https://github.com/vim/vim/commit/537ef08408c50e0c4104d57f74993b3b0ed9560d
Christian Brabandt <cb@256bit.org>
parents:
9432
diff
changeset
|
739 EX(CMD_lbottom, "lbottom", ex_cbottom, |
374afcf9d11d
commit https://github.com/vim/vim/commit/537ef08408c50e0c4104d57f74993b3b0ed9560d
Christian Brabandt <cb@256bit.org>
parents:
9432
diff
changeset
|
740 TRLBAR, |
374afcf9d11d
commit https://github.com/vim/vim/commit/537ef08408c50e0c4104d57f74993b3b0ed9560d
Christian Brabandt <cb@256bit.org>
parents:
9432
diff
changeset
|
741 ADDR_LINES), |
7 | 742 EX(CMD_lcd, "lcd", ex_cd, |
6398 | 743 BANG|FILE1|TRLBAR|CMDWIN, |
744 ADDR_LINES), | |
7 | 745 EX(CMD_lchdir, "lchdir", ex_cd, |
6398 | 746 BANG|FILE1|TRLBAR|CMDWIN, |
747 ADDR_LINES), | |
644 | 748 EX(CMD_lclose, "lclose", ex_cclose, |
6398 | 749 RANGE|NOTADR|COUNT|TRLBAR, |
750 ADDR_LINES), | |
10373
bd674706408a
commit https://github.com/vim/vim/commit/d4db7719bdfbc54df396eac08d8cbb2389feacf4
Christian Brabandt <cb@256bit.org>
parents:
10212
diff
changeset
|
751 EX(CMD_lcscope, "lcscope", ex_cscope, |
6398 | 752 EXTRA|NOTRLCOM|XFILE, |
753 ADDR_LINES), | |
7092
64e30831fa42
commit https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
Christian Brabandt <cb@256bit.org>
parents:
6945
diff
changeset
|
754 EX(CMD_ldo, "ldo", ex_listdo, |
64e30831fa42
commit https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
Christian Brabandt <cb@256bit.org>
parents:
6945
diff
changeset
|
755 BANG|NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL, |
64e30831fa42
commit https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
Christian Brabandt <cb@256bit.org>
parents:
6945
diff
changeset
|
756 ADDR_QUICKFIX), |
7 | 757 EX(CMD_left, "left", ex_align, |
6398 | 758 TRLBAR|RANGE|WHOLEFOLD|EXTRA|CMDWIN|MODIFY, |
759 ADDR_LINES), | |
7 | 760 EX(CMD_leftabove, "leftabove", ex_wrongmodifier, |
6398 | 761 NEEDARG|EXTRA|NOTRLCOM, |
762 ADDR_LINES), | |
7 | 763 EX(CMD_let, "let", ex_let, |
6398 | 764 EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
765 ADDR_LINES), | |
644 | 766 EX(CMD_lexpr, "lexpr", ex_cexpr, |
6398 | 767 NEEDARG|WORD1|NOTRLCOM|TRLBAR|BANG, |
768 ADDR_LINES), | |
644 | 769 EX(CMD_lfile, "lfile", ex_cfile, |
6398 | 770 TRLBAR|FILE1|BANG, |
771 ADDR_LINES), | |
7092
64e30831fa42
commit https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
Christian Brabandt <cb@256bit.org>
parents:
6945
diff
changeset
|
772 EX(CMD_lfdo, "lfdo", ex_listdo, |
64e30831fa42
commit https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
Christian Brabandt <cb@256bit.org>
parents:
6945
diff
changeset
|
773 BANG|NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL, |
64e30831fa42
commit https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
Christian Brabandt <cb@256bit.org>
parents:
6945
diff
changeset
|
774 ADDR_QUICKFIX), |
644 | 775 EX(CMD_lfirst, "lfirst", ex_cc, |
6398 | 776 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
777 ADDR_LINES), | |
644 | 778 EX(CMD_lgetfile, "lgetfile", ex_cfile, |
6398 | 779 TRLBAR|FILE1, |
780 ADDR_LINES), | |
798 | 781 EX(CMD_lgetbuffer, "lgetbuffer", ex_cbuffer, |
6398 | 782 RANGE|NOTADR|WORD1|TRLBAR, |
783 ADDR_LINES), | |
798 | 784 EX(CMD_lgetexpr, "lgetexpr", ex_cexpr, |
6398 | 785 NEEDARG|WORD1|NOTRLCOM|TRLBAR, |
786 ADDR_LINES), | |
658 | 787 EX(CMD_lgrep, "lgrep", ex_make, |
6398 | 788 RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE, |
789 ADDR_LINES), | |
658 | 790 EX(CMD_lgrepadd, "lgrepadd", ex_make, |
6398 | 791 RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE, |
792 ADDR_LINES), | |
659 | 793 EX(CMD_lhelpgrep, "lhelpgrep", ex_helpgrep, |
6398 | 794 EXTRA|NOTRLCOM|NEEDARG, |
795 ADDR_LINES), | |
9538
26da1efa9e46
commit https://github.com/vim/vim/commit/f6acffbe83e622542d9fdf3066f51933e46e4954
Christian Brabandt <cb@256bit.org>
parents:
9458
diff
changeset
|
796 EX(CMD_lhistory, "lhistory", qf_history, |
26da1efa9e46
commit https://github.com/vim/vim/commit/f6acffbe83e622542d9fdf3066f51933e46e4954
Christian Brabandt <cb@256bit.org>
parents:
9458
diff
changeset
|
797 TRLBAR, |
26da1efa9e46
commit https://github.com/vim/vim/commit/f6acffbe83e622542d9fdf3066f51933e46e4954
Christian Brabandt <cb@256bit.org>
parents:
9458
diff
changeset
|
798 ADDR_LINES), |
644 | 799 EX(CMD_ll, "ll", ex_cc, |
6398 | 800 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
801 ADDR_LINES), | |
644 | 802 EX(CMD_llast, "llast", ex_cc, |
6398 | 803 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
804 ADDR_LINES), | |
644 | 805 EX(CMD_llist, "llist", qf_list, |
6398 | 806 BANG|EXTRA|TRLBAR|CMDWIN, |
807 ADDR_LINES), | |
7 | 808 EX(CMD_lmap, "lmap", ex_map, |
6398 | 809 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
810 ADDR_LINES), | |
7 | 811 EX(CMD_lmapclear, "lmapclear", ex_mapclear, |
6398 | 812 EXTRA|TRLBAR|CMDWIN, |
813 ADDR_LINES), | |
658 | 814 EX(CMD_lmake, "lmake", ex_make, |
6398 | 815 BANG|EXTRA|NOTRLCOM|TRLBAR|XFILE, |
816 ADDR_LINES), | |
7 | 817 EX(CMD_lnoremap, "lnoremap", ex_map, |
6398 | 818 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
819 ADDR_LINES), | |
644 | 820 EX(CMD_lnext, "lnext", ex_cnext, |
6398 | 821 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
822 ADDR_LINES), | |
644 | 823 EX(CMD_lnewer, "lnewer", qf_age, |
6398 | 824 RANGE|NOTADR|COUNT|TRLBAR, |
825 ADDR_LINES), | |
644 | 826 EX(CMD_lnfile, "lnfile", ex_cnext, |
6398 | 827 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
828 ADDR_LINES), | |
7 | 829 EX(CMD_loadview, "loadview", ex_loadview, |
6398 | 830 FILE1|TRLBAR, |
831 ADDR_LINES), | |
7 | 832 EX(CMD_loadkeymap, "loadkeymap", ex_loadkeymap, |
6398 | 833 CMDWIN, |
834 ADDR_LINES), | |
7 | 835 EX(CMD_lockmarks, "lockmarks", ex_wrongmodifier, |
6398 | 836 NEEDARG|EXTRA|NOTRLCOM, |
837 ADDR_LINES), | |
151 | 838 EX(CMD_lockvar, "lockvar", ex_lockvar, |
6398 | 839 BANG|EXTRA|NEEDARG|SBOXOK|CMDWIN, |
840 ADDR_LINES), | |
644 | 841 EX(CMD_lolder, "lolder", qf_age, |
6398 | 842 RANGE|NOTADR|COUNT|TRLBAR, |
843 ADDR_LINES), | |
644 | 844 EX(CMD_lopen, "lopen", ex_copen, |
6398 | 845 RANGE|NOTADR|COUNT|TRLBAR, |
846 ADDR_LINES), | |
644 | 847 EX(CMD_lprevious, "lprevious", ex_cnext, |
6398 | 848 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
849 ADDR_LINES), | |
644 | 850 EX(CMD_lpfile, "lpfile", ex_cnext, |
6398 | 851 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
852 ADDR_LINES), | |
644 | 853 EX(CMD_lrewind, "lrewind", ex_cc, |
6398 | 854 RANGE|NOTADR|COUNT|TRLBAR|BANG, |
855 ADDR_LINES), | |
651 | 856 EX(CMD_ltag, "ltag", ex_tag, |
6398 | 857 NOTADR|TRLBAR|BANG|WORD1, |
858 ADDR_LINES), | |
5732 | 859 EX(CMD_lunmap, "lunmap", ex_unmap, |
6398 | 860 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
861 ADDR_LINES), | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2296
diff
changeset
|
862 EX(CMD_lua, "lua", ex_lua, |
6398 | 863 RANGE|EXTRA|NEEDARG|CMDWIN, |
864 ADDR_LINES), | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2296
diff
changeset
|
865 EX(CMD_luado, "luado", ex_luado, |
6398 | 866 RANGE|DFLALL|EXTRA|NEEDARG|CMDWIN, |
867 ADDR_LINES), | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2296
diff
changeset
|
868 EX(CMD_luafile, "luafile", ex_luafile, |
6398 | 869 RANGE|FILE1|NEEDARG|CMDWIN, |
870 ADDR_LINES), | |
658 | 871 EX(CMD_lvimgrep, "lvimgrep", ex_vimgrep, |
6398 | 872 RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE, |
873 ADDR_LINES), | |
658 | 874 EX(CMD_lvimgrepadd, "lvimgrepadd", ex_vimgrep, |
6398 | 875 RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE, |
876 ADDR_LINES), | |
644 | 877 EX(CMD_lwindow, "lwindow", ex_cwindow, |
6398 | 878 RANGE|NOTADR|COUNT|TRLBAR, |
879 ADDR_LINES), | |
7 | 880 EX(CMD_ls, "ls", buflist_list, |
6945 | 881 BANG|EXTRA|TRLBAR|CMDWIN, |
6398 | 882 ADDR_LINES), |
7 | 883 EX(CMD_move, "move", ex_copymove, |
6398 | 884 RANGE|WHOLEFOLD|EXTRA|TRLBAR|CMDWIN|MODIFY, |
885 ADDR_LINES), | |
7 | 886 EX(CMD_mark, "mark", ex_mark, |
6398 | 887 RANGE|WORD1|TRLBAR|SBOXOK|CMDWIN, |
888 ADDR_LINES), | |
7 | 889 EX(CMD_make, "make", ex_make, |
6398 | 890 BANG|EXTRA|NOTRLCOM|TRLBAR|XFILE, |
891 ADDR_LINES), | |
7 | 892 EX(CMD_map, "map", ex_map, |
6398 | 893 BANG|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
894 ADDR_LINES), | |
7 | 895 EX(CMD_mapclear, "mapclear", ex_mapclear, |
6398 | 896 EXTRA|BANG|TRLBAR|CMDWIN, |
897 ADDR_LINES), | |
7 | 898 EX(CMD_marks, "marks", do_marks, |
6398 | 899 EXTRA|TRLBAR|CMDWIN, |
900 ADDR_LINES), | |
7 | 901 EX(CMD_match, "match", ex_match, |
6398 | 902 RANGE|NOTADR|EXTRA|CMDWIN, |
903 ADDR_LINES), | |
7 | 904 EX(CMD_menu, "menu", ex_menu, |
6398 | 905 RANGE|NOTADR|ZEROR|BANG|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
906 ADDR_LINES), | |
7 | 907 EX(CMD_menutranslate, "menutranslate", ex_menutranslate, |
6398 | 908 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
909 ADDR_LINES), | |
7 | 910 EX(CMD_messages, "messages", ex_messages, |
8897
a410390e340b
commit https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
Christian Brabandt <cb@256bit.org>
parents:
8520
diff
changeset
|
911 EXTRA|TRLBAR|RANGE|CMDWIN, |
8903
9da3751688e9
commit https://github.com/vim/vim/commit/5d91646599a7b74310845e30a2a52ff197dc0ed7
Christian Brabandt <cb@256bit.org>
parents:
8897
diff
changeset
|
912 ADDR_OTHER), |
7 | 913 EX(CMD_mkexrc, "mkexrc", ex_mkrc, |
6398 | 914 BANG|FILE1|TRLBAR|CMDWIN, |
915 ADDR_LINES), | |
7 | 916 EX(CMD_mksession, "mksession", ex_mkrc, |
6398 | 917 BANG|FILE1|TRLBAR, |
918 ADDR_LINES), | |
237 | 919 EX(CMD_mkspell, "mkspell", ex_mkspell, |
6398 | 920 BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE, |
921 ADDR_LINES), | |
7 | 922 EX(CMD_mkvimrc, "mkvimrc", ex_mkrc, |
6398 | 923 BANG|FILE1|TRLBAR|CMDWIN, |
924 ADDR_LINES), | |
7 | 925 EX(CMD_mkview, "mkview", ex_mkrc, |
6398 | 926 BANG|FILE1|TRLBAR, |
927 ADDR_LINES), | |
7 | 928 EX(CMD_mode, "mode", ex_mode, |
6398 | 929 WORD1|TRLBAR|CMDWIN, |
930 ADDR_LINES), | |
14 | 931 EX(CMD_mzscheme, "mzscheme", ex_mzscheme, |
6398 | 932 RANGE|EXTRA|DFLALL|NEEDARG|CMDWIN|SBOXOK, |
933 ADDR_LINES), | |
14 | 934 EX(CMD_mzfile, "mzfile", ex_mzfile, |
6398 | 935 RANGE|FILE1|NEEDARG|CMDWIN, |
936 ADDR_LINES), | |
7 | 937 EX(CMD_next, "next", ex_next, |
6398 | 938 RANGE|NOTADR|BANG|FILES|EDITCMD|ARGOPT|TRLBAR, |
939 ADDR_LINES), | |
34 | 940 EX(CMD_nbkey, "nbkey", ex_nbkey, |
6398 | 941 EXTRA|NOTADR|NEEDARG, |
942 ADDR_LINES), | |
2210 | 943 EX(CMD_nbclose, "nbclose", ex_nbclose, |
6398 | 944 TRLBAR|CMDWIN, |
945 ADDR_LINES), | |
2210 | 946 EX(CMD_nbstart, "nbstart", ex_nbstart, |
6398 | 947 WORD1|TRLBAR|CMDWIN, |
948 ADDR_LINES), | |
7 | 949 EX(CMD_new, "new", ex_splitview, |
6398 | 950 BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR, |
951 ADDR_LINES), | |
7 | 952 EX(CMD_nmap, "nmap", ex_map, |
6398 | 953 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
954 ADDR_LINES), | |
7 | 955 EX(CMD_nmapclear, "nmapclear", ex_mapclear, |
6398 | 956 EXTRA|TRLBAR|CMDWIN, |
957 ADDR_LINES), | |
7 | 958 EX(CMD_nmenu, "nmenu", ex_menu, |
6398 | 959 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
960 ADDR_LINES), | |
7 | 961 EX(CMD_nnoremap, "nnoremap", ex_map, |
6398 | 962 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
963 ADDR_LINES), | |
7 | 964 EX(CMD_nnoremenu, "nnoremenu", ex_menu, |
6398 | 965 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
966 ADDR_LINES), | |
7 | 967 EX(CMD_noremap, "noremap", ex_map, |
6398 | 968 BANG|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
969 ADDR_LINES), | |
1721 | 970 EX(CMD_noautocmd, "noautocmd", ex_wrongmodifier, |
6398 | 971 NEEDARG|EXTRA|NOTRLCOM, |
972 ADDR_LINES), | |
7 | 973 EX(CMD_nohlsearch, "nohlsearch", ex_nohlsearch, |
6398 | 974 TRLBAR|SBOXOK|CMDWIN, |
975 ADDR_LINES), | |
7 | 976 EX(CMD_noreabbrev, "noreabbrev", ex_abbreviate, |
6398 | 977 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
978 ADDR_LINES), | |
7 | 979 EX(CMD_noremenu, "noremenu", ex_menu, |
6398 | 980 RANGE|NOTADR|ZEROR|BANG|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
981 ADDR_LINES), | |
5737 | 982 EX(CMD_noswapfile, "noswapfile", ex_wrongmodifier, |
6398 | 983 NEEDARG|EXTRA|NOTRLCOM, |
984 ADDR_LINES), | |
7 | 985 EX(CMD_normal, "normal", ex_normal, |
6398 | 986 RANGE|BANG|EXTRA|NEEDARG|NOTRLCOM|USECTRLV|SBOXOK|CMDWIN, |
987 ADDR_LINES), | |
7 | 988 EX(CMD_number, "number", ex_print, |
6398 | 989 RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN, |
990 ADDR_LINES), | |
7 | 991 EX(CMD_nunmap, "nunmap", ex_unmap, |
6398 | 992 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
993 ADDR_LINES), | |
7 | 994 EX(CMD_nunmenu, "nunmenu", ex_menu, |
6398 | 995 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
996 ADDR_LINES), | |
169 | 997 EX(CMD_open, "open", ex_open, |
6398 | 998 RANGE|BANG|EXTRA, |
999 ADDR_LINES), | |
1733 | 1000 EX(CMD_oldfiles, "oldfiles", ex_oldfiles, |
9941
e975914c17e9
commit https://github.com/vim/vim/commit/7b668e83d0635d082b7ec90d7d2aa30a9d7d8928
Christian Brabandt <cb@256bit.org>
parents:
9915
diff
changeset
|
1001 BANG|TRLBAR|SBOXOK|CMDWIN, |
6398 | 1002 ADDR_LINES), |
7 | 1003 EX(CMD_omap, "omap", ex_map, |
6398 | 1004 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1005 ADDR_LINES), | |
7 | 1006 EX(CMD_omapclear, "omapclear", ex_mapclear, |
6398 | 1007 EXTRA|TRLBAR|CMDWIN, |
1008 ADDR_LINES), | |
7 | 1009 EX(CMD_omenu, "omenu", ex_menu, |
6398 | 1010 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1011 ADDR_LINES), | |
7 | 1012 EX(CMD_only, "only", ex_only, |
6398 | 1013 BANG|NOTADR|RANGE|COUNT|TRLBAR, |
1014 ADDR_WINDOWS), | |
7 | 1015 EX(CMD_onoremap, "onoremap", ex_map, |
6398 | 1016 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1017 ADDR_LINES), | |
7 | 1018 EX(CMD_onoremenu, "onoremenu", ex_menu, |
6398 | 1019 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1020 ADDR_LINES), | |
7 | 1021 EX(CMD_options, "options", ex_options, |
6398 | 1022 TRLBAR, |
1023 ADDR_LINES), | |
7 | 1024 EX(CMD_ounmap, "ounmap", ex_unmap, |
6398 | 1025 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1026 ADDR_LINES), | |
7 | 1027 EX(CMD_ounmenu, "ounmenu", ex_menu, |
6398 | 1028 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1029 ADDR_LINES), | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
1030 EX(CMD_ownsyntax, "ownsyntax", ex_ownsyntax, |
6398 | 1031 EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
1032 ADDR_LINES), | |
7 | 1033 EX(CMD_print, "print", ex_print, |
6398 | 1034 RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN|SBOXOK, |
1035 ADDR_LINES), | |
8376
e448f2a5d45b
commit https://github.com/vim/vim/commit/91715873d19a1859c08eeded7848113596e2f2bd
Christian Brabandt <cb@256bit.org>
parents:
8281
diff
changeset
|
1036 EX(CMD_packadd, "packadd", ex_packadd, |
8416
1a6527cce675
commit https://github.com/vim/vim/commit/be82c254862e475a582c0717455e1db6bf96b0d0
Christian Brabandt <cb@256bit.org>
parents:
8388
diff
changeset
|
1037 BANG|FILE1|NEEDARG|TRLBAR|SBOXOK|CMDWIN, |
8376
e448f2a5d45b
commit https://github.com/vim/vim/commit/91715873d19a1859c08eeded7848113596e2f2bd
Christian Brabandt <cb@256bit.org>
parents:
8281
diff
changeset
|
1038 ADDR_LINES), |
8520
b4350a4d1e01
commit https://github.com/vim/vim/commit/2d8f56acb32428d0f965d42dd13b27100b46fa15
Christian Brabandt <cb@256bit.org>
parents:
8416
diff
changeset
|
1039 EX(CMD_packloadall, "packloadall", ex_packloadall, |
b4350a4d1e01
commit https://github.com/vim/vim/commit/2d8f56acb32428d0f965d42dd13b27100b46fa15
Christian Brabandt <cb@256bit.org>
parents:
8416
diff
changeset
|
1040 BANG|TRLBAR|SBOXOK|CMDWIN, |
b4350a4d1e01
commit https://github.com/vim/vim/commit/2d8f56acb32428d0f965d42dd13b27100b46fa15
Christian Brabandt <cb@256bit.org>
parents:
8416
diff
changeset
|
1041 ADDR_LINES), |
7 | 1042 EX(CMD_pclose, "pclose", ex_pclose, |
6398 | 1043 BANG|TRLBAR, |
1044 ADDR_LINES), | |
7 | 1045 EX(CMD_perl, "perl", ex_perl, |
6398 | 1046 RANGE|EXTRA|DFLALL|NEEDARG|SBOXOK|CMDWIN, |
1047 ADDR_LINES), | |
7 | 1048 EX(CMD_perldo, "perldo", ex_perldo, |
6398 | 1049 RANGE|EXTRA|DFLALL|NEEDARG|CMDWIN, |
1050 ADDR_LINES), | |
7 | 1051 EX(CMD_pedit, "pedit", ex_pedit, |
6398 | 1052 BANG|FILE1|EDITCMD|ARGOPT|TRLBAR, |
1053 ADDR_LINES), | |
7 | 1054 EX(CMD_pop, "pop", ex_tag, |
6398 | 1055 RANGE|NOTADR|BANG|COUNT|TRLBAR|ZEROR, |
1056 ADDR_LINES), | |
7 | 1057 EX(CMD_popup, "popup", ex_popup, |
6398 | 1058 NEEDARG|EXTRA|BANG|TRLBAR|NOTRLCOM|CMDWIN, |
1059 ADDR_LINES), | |
7 | 1060 EX(CMD_ppop, "ppop", ex_ptag, |
6398 | 1061 RANGE|NOTADR|BANG|COUNT|TRLBAR|ZEROR, |
1062 ADDR_LINES), | |
7 | 1063 EX(CMD_preserve, "preserve", ex_preserve, |
6398 | 1064 TRLBAR, |
1065 ADDR_LINES), | |
7 | 1066 EX(CMD_previous, "previous", ex_previous, |
6398 | 1067 EXTRA|RANGE|NOTADR|COUNT|BANG|EDITCMD|ARGOPT|TRLBAR, |
1068 ADDR_LINES), | |
7 | 1069 EX(CMD_promptfind, "promptfind", gui_mch_find_dialog, |
6398 | 1070 EXTRA|NOTRLCOM|CMDWIN, |
1071 ADDR_LINES), | |
7 | 1072 EX(CMD_promptrepl, "promptrepl", gui_mch_replace_dialog, |
6398 | 1073 EXTRA|NOTRLCOM|CMDWIN, |
1074 ADDR_LINES), | |
170 | 1075 EX(CMD_profile, "profile", ex_profile, |
6398 | 1076 BANG|EXTRA|TRLBAR|CMDWIN, |
1077 ADDR_LINES), | |
364 | 1078 EX(CMD_profdel, "profdel", ex_breakdel, |
6398 | 1079 EXTRA|TRLBAR|CMDWIN, |
1080 ADDR_LINES), | |
7 | 1081 EX(CMD_psearch, "psearch", ex_psearch, |
6398 | 1082 BANG|RANGE|WHOLEFOLD|DFLALL|EXTRA, |
1083 ADDR_LINES), | |
7 | 1084 EX(CMD_ptag, "ptag", ex_ptag, |
6398 | 1085 RANGE|NOTADR|BANG|WORD1|TRLBAR|ZEROR, |
1086 ADDR_LINES), | |
7 | 1087 EX(CMD_ptNext, "ptNext", ex_ptag, |
6398 | 1088 RANGE|NOTADR|BANG|TRLBAR|ZEROR, |
1089 ADDR_LINES), | |
7 | 1090 EX(CMD_ptfirst, "ptfirst", ex_ptag, |
6398 | 1091 RANGE|NOTADR|BANG|TRLBAR|ZEROR, |
1092 ADDR_LINES), | |
7 | 1093 EX(CMD_ptjump, "ptjump", ex_ptag, |
6398 | 1094 BANG|TRLBAR|WORD1, |
1095 ADDR_LINES), | |
7 | 1096 EX(CMD_ptlast, "ptlast", ex_ptag, |
6398 | 1097 BANG|TRLBAR, |
1098 ADDR_LINES), | |
7 | 1099 EX(CMD_ptnext, "ptnext", ex_ptag, |
6398 | 1100 RANGE|NOTADR|BANG|TRLBAR|ZEROR, |
1101 ADDR_LINES), | |
7 | 1102 EX(CMD_ptprevious, "ptprevious", ex_ptag, |
6398 | 1103 RANGE|NOTADR|BANG|TRLBAR|ZEROR, |
1104 ADDR_LINES), | |
7 | 1105 EX(CMD_ptrewind, "ptrewind", ex_ptag, |
6398 | 1106 RANGE|NOTADR|BANG|TRLBAR|ZEROR, |
1107 ADDR_LINES), | |
7 | 1108 EX(CMD_ptselect, "ptselect", ex_ptag, |
6398 | 1109 BANG|TRLBAR|WORD1, |
1110 ADDR_LINES), | |
7 | 1111 EX(CMD_put, "put", ex_put, |
6398 | 1112 RANGE|WHOLEFOLD|BANG|REGSTR|TRLBAR|ZEROR|CMDWIN|MODIFY, |
1113 ADDR_LINES), | |
7 | 1114 EX(CMD_pwd, "pwd", ex_pwd, |
6398 | 1115 TRLBAR|CMDWIN, |
1116 ADDR_LINES), | |
7 | 1117 EX(CMD_python, "python", ex_python, |
6398 | 1118 RANGE|EXTRA|NEEDARG|CMDWIN, |
1119 ADDR_LINES), | |
4435 | 1120 EX(CMD_pydo, "pydo", ex_pydo, |
6398 | 1121 RANGE|DFLALL|EXTRA|NEEDARG|CMDWIN, |
1122 ADDR_LINES), | |
7 | 1123 EX(CMD_pyfile, "pyfile", ex_pyfile, |
6398 | 1124 RANGE|FILE1|NEEDARG|CMDWIN, |
1125 ADDR_LINES), | |
2350
06feaf4fe36a
Rename some "python3" symbols to "py3", as the command name.
Bram Moolenaar <bram@vim.org>
parents:
2329
diff
changeset
|
1126 EX(CMD_py3, "py3", ex_py3, |
6398 | 1127 RANGE|EXTRA|NEEDARG|CMDWIN, |
1128 ADDR_LINES), | |
4417 | 1129 EX(CMD_py3do, "py3do", ex_py3do, |
6398 | 1130 RANGE|DFLALL|EXTRA|NEEDARG|CMDWIN, |
1131 ADDR_LINES), | |
2366
7a57fe6a5157
Fix that :py3file was not working.
Bram Moolenaar <bram@vim.org>
parents:
2350
diff
changeset
|
1132 EX(CMD_python3, "python3", ex_py3, |
6398 | 1133 RANGE|EXTRA|NEEDARG|CMDWIN, |
1134 ADDR_LINES), | |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
1135 EX(CMD_py3file, "py3file", ex_py3file, |
6398 | 1136 RANGE|FILE1|NEEDARG|CMDWIN, |
1137 ADDR_LINES), | |
10722
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
10383
diff
changeset
|
1138 EX(CMD_pyx, "pyx", ex_pyx, |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
10383
diff
changeset
|
1139 RANGE|EXTRA|NEEDARG|CMDWIN, |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
10383
diff
changeset
|
1140 ADDR_LINES), |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
10383
diff
changeset
|
1141 EX(CMD_pyxdo, "pyxdo", ex_pyxdo, |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
10383
diff
changeset
|
1142 RANGE|DFLALL|EXTRA|NEEDARG|CMDWIN, |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
10383
diff
changeset
|
1143 ADDR_LINES), |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
10383
diff
changeset
|
1144 EX(CMD_pythonx, "pythonx", ex_pyx, |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
10383
diff
changeset
|
1145 RANGE|EXTRA|NEEDARG|CMDWIN, |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
10383
diff
changeset
|
1146 ADDR_LINES), |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
10383
diff
changeset
|
1147 EX(CMD_pyxfile, "pyxfile", ex_pyxfile, |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
10383
diff
changeset
|
1148 RANGE|FILE1|NEEDARG|CMDWIN, |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
10383
diff
changeset
|
1149 ADDR_LINES), |
7 | 1150 EX(CMD_quit, "quit", ex_quit, |
6398 | 1151 BANG|RANGE|COUNT|NOTADR|TRLBAR|CMDWIN, |
1152 ADDR_WINDOWS), | |
7 | 1153 EX(CMD_quitall, "quitall", ex_quit_all, |
6398 | 1154 BANG|TRLBAR, |
1155 ADDR_LINES), | |
7 | 1156 EX(CMD_qall, "qall", ex_quit_all, |
6398 | 1157 BANG|TRLBAR|CMDWIN, |
1158 ADDR_LINES), | |
7 | 1159 EX(CMD_read, "read", ex_read, |
6398 | 1160 BANG|RANGE|WHOLEFOLD|FILE1|ARGOPT|TRLBAR|ZEROR|CMDWIN|MODIFY, |
1161 ADDR_LINES), | |
7 | 1162 EX(CMD_recover, "recover", ex_recover, |
6398 | 1163 BANG|FILE1|TRLBAR, |
1164 ADDR_LINES), | |
7 | 1165 EX(CMD_redo, "redo", ex_redo, |
6398 | 1166 TRLBAR|CMDWIN, |
1167 ADDR_LINES), | |
7 | 1168 EX(CMD_redir, "redir", ex_redir, |
6398 | 1169 BANG|FILES|TRLBAR|CMDWIN, |
1170 ADDR_LINES), | |
7 | 1171 EX(CMD_redraw, "redraw", ex_redraw, |
6398 | 1172 BANG|TRLBAR|CMDWIN, |
1173 ADDR_LINES), | |
7 | 1174 EX(CMD_redrawstatus, "redrawstatus", ex_redrawstatus, |
6398 | 1175 BANG|TRLBAR|CMDWIN, |
1176 ADDR_LINES), | |
7 | 1177 EX(CMD_registers, "registers", ex_display, |
6398 | 1178 EXTRA|NOTRLCOM|TRLBAR|CMDWIN, |
1179 ADDR_LINES), | |
7 | 1180 EX(CMD_resize, "resize", ex_resize, |
11611
9dc041e1c8c9
patch 8.0.0688: cannot resize the window in a FileType autocommand
Christian Brabandt <cb@256bit.org>
parents:
11545
diff
changeset
|
1181 RANGE|NOTADR|TRLBAR|WORD1|CMDWIN, |
6398 | 1182 ADDR_LINES), |
7 | 1183 EX(CMD_retab, "retab", ex_retab, |
6398 | 1184 TRLBAR|RANGE|WHOLEFOLD|DFLALL|BANG|WORD1|CMDWIN|MODIFY, |
1185 ADDR_LINES), | |
7 | 1186 EX(CMD_return, "return", ex_return, |
6398 | 1187 EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
1188 ADDR_LINES), | |
7 | 1189 EX(CMD_rewind, "rewind", ex_rewind, |
6398 | 1190 EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR, |
1191 ADDR_LINES), | |
7 | 1192 EX(CMD_right, "right", ex_align, |
6398 | 1193 TRLBAR|RANGE|WHOLEFOLD|EXTRA|CMDWIN|MODIFY, |
1194 ADDR_LINES), | |
7 | 1195 EX(CMD_rightbelow, "rightbelow", ex_wrongmodifier, |
6398 | 1196 NEEDARG|EXTRA|NOTRLCOM, |
1197 ADDR_LINES), | |
7 | 1198 EX(CMD_runtime, "runtime", ex_runtime, |
6398 | 1199 BANG|NEEDARG|FILES|TRLBAR|SBOXOK|CMDWIN, |
1200 ADDR_LINES), | |
7 | 1201 EX(CMD_ruby, "ruby", ex_ruby, |
6398 | 1202 RANGE|EXTRA|NEEDARG|CMDWIN, |
1203 ADDR_LINES), | |
7 | 1204 EX(CMD_rubydo, "rubydo", ex_rubydo, |
6398 | 1205 RANGE|DFLALL|EXTRA|NEEDARG|CMDWIN, |
1206 ADDR_LINES), | |
7 | 1207 EX(CMD_rubyfile, "rubyfile", ex_rubyfile, |
6398 | 1208 RANGE|FILE1|NEEDARG|CMDWIN, |
1209 ADDR_LINES), | |
2214
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2210
diff
changeset
|
1210 EX(CMD_rundo, "rundo", ex_rundo, |
6398 | 1211 NEEDARG|FILE1, |
1212 ADDR_LINES), | |
7 | 1213 EX(CMD_rviminfo, "rviminfo", ex_viminfo, |
6398 | 1214 BANG|FILE1|TRLBAR|CMDWIN, |
1215 ADDR_LINES), | |
7 | 1216 EX(CMD_substitute, "substitute", do_sub, |
6398 | 1217 RANGE|WHOLEFOLD|EXTRA|CMDWIN, |
1218 ADDR_LINES), | |
7 | 1219 EX(CMD_sNext, "sNext", ex_previous, |
6398 | 1220 EXTRA|RANGE|NOTADR|COUNT|BANG|EDITCMD|ARGOPT|TRLBAR, |
1221 ADDR_LINES), | |
7 | 1222 EX(CMD_sargument, "sargument", ex_argument, |
6398 | 1223 BANG|RANGE|NOTADR|COUNT|EXTRA|EDITCMD|ARGOPT|TRLBAR, |
1224 ADDR_ARGUMENTS), | |
7 | 1225 EX(CMD_sall, "sall", ex_all, |
6398 | 1226 BANG|RANGE|NOTADR|COUNT|TRLBAR, |
1227 ADDR_LINES), | |
29 | 1228 EX(CMD_sandbox, "sandbox", ex_wrongmodifier, |
6398 | 1229 NEEDARG|EXTRA|NOTRLCOM, |
1230 ADDR_LINES), | |
7 | 1231 EX(CMD_saveas, "saveas", ex_write, |
6398 | 1232 BANG|DFLALL|FILE1|ARGOPT|CMDWIN|TRLBAR, |
1233 ADDR_LINES), | |
7 | 1234 EX(CMD_sbuffer, "sbuffer", ex_buffer, |
6398 | 1235 BANG|RANGE|NOTADR|BUFNAME|BUFUNL|COUNT|EXTRA|EDITCMD|TRLBAR, |
6424 | 1236 ADDR_BUFFERS), |
7 | 1237 EX(CMD_sbNext, "sbNext", ex_bprevious, |
6398 | 1238 RANGE|NOTADR|COUNT|EDITCMD|TRLBAR, |
1239 ADDR_LINES), | |
7 | 1240 EX(CMD_sball, "sball", ex_buffer_all, |
6398 | 1241 RANGE|NOTADR|COUNT|EDITCMD|TRLBAR, |
1242 ADDR_LINES), | |
7 | 1243 EX(CMD_sbfirst, "sbfirst", ex_brewind, |
6398 | 1244 EDITCMD|TRLBAR, |
1245 ADDR_LINES), | |
7 | 1246 EX(CMD_sblast, "sblast", ex_blast, |
6398 | 1247 EDITCMD|TRLBAR, |
1248 ADDR_LINES), | |
7 | 1249 EX(CMD_sbmodified, "sbmodified", ex_bmodified, |
6398 | 1250 RANGE|NOTADR|COUNT|EDITCMD|TRLBAR, |
1251 ADDR_LINES), | |
7 | 1252 EX(CMD_sbnext, "sbnext", ex_bnext, |
6398 | 1253 RANGE|NOTADR|COUNT|EDITCMD|TRLBAR, |
1254 ADDR_LINES), | |
7 | 1255 EX(CMD_sbprevious, "sbprevious", ex_bprevious, |
6398 | 1256 RANGE|NOTADR|COUNT|EDITCMD|TRLBAR, |
1257 ADDR_LINES), | |
7 | 1258 EX(CMD_sbrewind, "sbrewind", ex_brewind, |
6398 | 1259 EDITCMD|TRLBAR, |
1260 ADDR_LINES), | |
7 | 1261 EX(CMD_scriptnames, "scriptnames", ex_scriptnames, |
6398 | 1262 TRLBAR|CMDWIN, |
1263 ADDR_LINES), | |
7 | 1264 EX(CMD_scriptencoding, "scriptencoding", ex_scriptencoding, |
6398 | 1265 WORD1|TRLBAR|CMDWIN, |
1266 ADDR_LINES), | |
10373
bd674706408a
commit https://github.com/vim/vim/commit/d4db7719bdfbc54df396eac08d8cbb2389feacf4
Christian Brabandt <cb@256bit.org>
parents:
10212
diff
changeset
|
1267 EX(CMD_scscope, "scscope", ex_scscope, |
6398 | 1268 EXTRA|NOTRLCOM, |
1269 ADDR_LINES), | |
7 | 1270 EX(CMD_set, "set", ex_set, |
6398 | 1271 TRLBAR|EXTRA|CMDWIN|SBOXOK, |
1272 ADDR_LINES), | |
7 | 1273 EX(CMD_setfiletype, "setfiletype", ex_setfiletype, |
6398 | 1274 TRLBAR|EXTRA|NEEDARG|CMDWIN, |
1275 ADDR_LINES), | |
7 | 1276 EX(CMD_setglobal, "setglobal", ex_set, |
6398 | 1277 TRLBAR|EXTRA|CMDWIN|SBOXOK, |
1278 ADDR_LINES), | |
7 | 1279 EX(CMD_setlocal, "setlocal", ex_set, |
6398 | 1280 TRLBAR|EXTRA|CMDWIN|SBOXOK, |
1281 ADDR_LINES), | |
7 | 1282 EX(CMD_sfind, "sfind", ex_splitview, |
6398 | 1283 BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR, |
1284 ADDR_LINES), | |
7 | 1285 EX(CMD_sfirst, "sfirst", ex_rewind, |
6398 | 1286 EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR, |
1287 ADDR_LINES), | |
7 | 1288 EX(CMD_shell, "shell", ex_shell, |
6398 | 1289 TRLBAR|CMDWIN, |
1290 ADDR_LINES), | |
7 | 1291 EX(CMD_simalt, "simalt", ex_simalt, |
6398 | 1292 NEEDARG|WORD1|TRLBAR|CMDWIN, |
1293 ADDR_LINES), | |
7 | 1294 EX(CMD_sign, "sign", ex_sign, |
6398 | 1295 NEEDARG|RANGE|NOTADR|EXTRA|CMDWIN, |
1296 ADDR_LINES), | |
7 | 1297 EX(CMD_silent, "silent", ex_wrongmodifier, |
6398 | 1298 NEEDARG|EXTRA|BANG|NOTRLCOM|SBOXOK|CMDWIN, |
1299 ADDR_LINES), | |
7 | 1300 EX(CMD_sleep, "sleep", ex_sleep, |
6398 | 1301 RANGE|NOTADR|COUNT|EXTRA|TRLBAR|CMDWIN, |
1302 ADDR_LINES), | |
7 | 1303 EX(CMD_slast, "slast", ex_last, |
6398 | 1304 EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR, |
1305 ADDR_LINES), | |
7 | 1306 EX(CMD_smagic, "smagic", ex_submagic, |
6398 | 1307 RANGE|WHOLEFOLD|EXTRA|CMDWIN, |
1308 ADDR_LINES), | |
791 | 1309 EX(CMD_smap, "smap", ex_map, |
6398 | 1310 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1311 ADDR_LINES), | |
791 | 1312 EX(CMD_smapclear, "smapclear", ex_mapclear, |
6398 | 1313 EXTRA|TRLBAR|CMDWIN, |
1314 ADDR_LINES), | |
791 | 1315 EX(CMD_smenu, "smenu", ex_menu, |
6398 | 1316 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1317 ADDR_LINES), | |
7 | 1318 EX(CMD_snext, "snext", ex_next, |
6398 | 1319 RANGE|NOTADR|BANG|FILES|EDITCMD|ARGOPT|TRLBAR, |
1320 ADDR_LINES), | |
7 | 1321 EX(CMD_snomagic, "snomagic", ex_submagic, |
6398 | 1322 RANGE|WHOLEFOLD|EXTRA|CMDWIN, |
1323 ADDR_LINES), | |
791 | 1324 EX(CMD_snoremap, "snoremap", ex_map, |
6398 | 1325 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1326 ADDR_LINES), | |
791 | 1327 EX(CMD_snoremenu, "snoremenu", ex_menu, |
6398 | 1328 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1329 ADDR_LINES), | |
7 | 1330 EX(CMD_source, "source", ex_source, |
6398 | 1331 BANG|FILE1|TRLBAR|SBOXOK|CMDWIN, |
1332 ADDR_LINES), | |
284 | 1333 EX(CMD_sort, "sort", ex_sort, |
6398 | 1334 RANGE|DFLALL|WHOLEFOLD|BANG|EXTRA|NOTRLCOM|MODIFY, |
1335 ADDR_LINES), | |
7 | 1336 EX(CMD_split, "split", ex_splitview, |
6398 | 1337 BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR, |
1338 ADDR_LINES), | |
315 | 1339 EX(CMD_spellgood, "spellgood", ex_spell, |
6398 | 1340 BANG|RANGE|NOTADR|NEEDARG|EXTRA|TRLBAR, |
1341 ADDR_LINES), | |
354 | 1342 EX(CMD_spelldump, "spelldump", ex_spelldump, |
6398 | 1343 BANG|TRLBAR, |
1344 ADDR_LINES), | |
714 | 1345 EX(CMD_spellinfo, "spellinfo", ex_spellinfo, |
6398 | 1346 TRLBAR, |
1347 ADDR_LINES), | |
374 | 1348 EX(CMD_spellrepall, "spellrepall", ex_spellrepall, |
6398 | 1349 TRLBAR, |
1350 ADDR_LINES), | |
713 | 1351 EX(CMD_spellundo, "spellundo", ex_spell, |
6398 | 1352 BANG|RANGE|NOTADR|NEEDARG|EXTRA|TRLBAR, |
1353 ADDR_LINES), | |
714 | 1354 EX(CMD_spellwrong, "spellwrong", ex_spell, |
6398 | 1355 BANG|RANGE|NOTADR|NEEDARG|EXTRA|TRLBAR, |
1356 ADDR_LINES), | |
7 | 1357 EX(CMD_sprevious, "sprevious", ex_previous, |
6398 | 1358 EXTRA|RANGE|NOTADR|COUNT|BANG|EDITCMD|ARGOPT|TRLBAR, |
1359 ADDR_LINES), | |
7 | 1360 EX(CMD_srewind, "srewind", ex_rewind, |
6398 | 1361 EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR, |
1362 ADDR_LINES), | |
7 | 1363 EX(CMD_stop, "stop", ex_stop, |
6398 | 1364 TRLBAR|BANG|CMDWIN, |
1365 ADDR_LINES), | |
7 | 1366 EX(CMD_stag, "stag", ex_stag, |
6398 | 1367 RANGE|NOTADR|BANG|WORD1|TRLBAR|ZEROR, |
1368 ADDR_LINES), | |
7 | 1369 EX(CMD_startinsert, "startinsert", ex_startinsert, |
6398 | 1370 BANG|TRLBAR|CMDWIN, |
1371 ADDR_LINES), | |
601 | 1372 EX(CMD_startgreplace, "startgreplace", ex_startinsert, |
6398 | 1373 BANG|TRLBAR|CMDWIN, |
1374 ADDR_LINES), | |
14 | 1375 EX(CMD_startreplace, "startreplace", ex_startinsert, |
6398 | 1376 BANG|TRLBAR|CMDWIN, |
1377 ADDR_LINES), | |
7 | 1378 EX(CMD_stopinsert, "stopinsert", ex_stopinsert, |
6398 | 1379 BANG|TRLBAR|CMDWIN, |
1380 ADDR_LINES), | |
7 | 1381 EX(CMD_stjump, "stjump", ex_stag, |
6398 | 1382 BANG|TRLBAR|WORD1, |
1383 ADDR_LINES), | |
7 | 1384 EX(CMD_stselect, "stselect", ex_stag, |
6398 | 1385 BANG|TRLBAR|WORD1, |
1386 ADDR_LINES), | |
7 | 1387 EX(CMD_sunhide, "sunhide", ex_buffer_all, |
6398 | 1388 RANGE|NOTADR|COUNT|TRLBAR, |
1389 ADDR_LINES), | |
791 | 1390 EX(CMD_sunmap, "sunmap", ex_unmap, |
6398 | 1391 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1392 ADDR_LINES), | |
791 | 1393 EX(CMD_sunmenu, "sunmenu", ex_menu, |
6398 | 1394 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1395 ADDR_LINES), | |
7 | 1396 EX(CMD_suspend, "suspend", ex_stop, |
6398 | 1397 TRLBAR|BANG|CMDWIN, |
1398 ADDR_LINES), | |
7 | 1399 EX(CMD_sview, "sview", ex_splitview, |
6398 | 1400 BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR, |
1401 ADDR_LINES), | |
7 | 1402 EX(CMD_swapname, "swapname", ex_swapname, |
6398 | 1403 TRLBAR|CMDWIN, |
1404 ADDR_LINES), | |
7 | 1405 EX(CMD_syntax, "syntax", ex_syntax, |
6398 | 1406 EXTRA|NOTRLCOM|CMDWIN, |
1407 ADDR_LINES), | |
4764
f824cb97eb92
updated for version 7.3.1129
Bram Moolenaar <bram@vim.org>
parents:
4435
diff
changeset
|
1408 EX(CMD_syntime, "syntime", ex_syntime, |
6398 | 1409 NEEDARG|WORD1|TRLBAR|CMDWIN, |
1410 ADDR_LINES), | |
7 | 1411 EX(CMD_syncbind, "syncbind", ex_syncbind, |
6398 | 1412 TRLBAR, |
1413 ADDR_LINES), | |
7402
2c63e9ecf29d
commit https://github.com/vim/vim/commit/86e179dbe75010e9545e1a2fcc92a15d57bf27fd
Christian Brabandt <cb@256bit.org>
parents:
7092
diff
changeset
|
1414 EX(CMD_smile, "smile", ex_smile, |
2c63e9ecf29d
commit https://github.com/vim/vim/commit/86e179dbe75010e9545e1a2fcc92a15d57bf27fd
Christian Brabandt <cb@256bit.org>
parents:
7092
diff
changeset
|
1415 TRLBAR|CMDWIN|SBOXOK, |
2c63e9ecf29d
commit https://github.com/vim/vim/commit/86e179dbe75010e9545e1a2fcc92a15d57bf27fd
Christian Brabandt <cb@256bit.org>
parents:
7092
diff
changeset
|
1416 ADDR_LINES), |
7 | 1417 EX(CMD_t, "t", ex_copymove, |
6398 | 1418 RANGE|WHOLEFOLD|EXTRA|TRLBAR|CMDWIN|MODIFY, |
1419 ADDR_LINES), | |
7 | 1420 EX(CMD_tNext, "tNext", ex_tag, |
6398 | 1421 RANGE|NOTADR|BANG|TRLBAR|ZEROR, |
1422 ADDR_LINES), | |
7 | 1423 EX(CMD_tag, "tag", ex_tag, |
6398 | 1424 RANGE|NOTADR|BANG|WORD1|TRLBAR|ZEROR, |
1425 ADDR_LINES), | |
7 | 1426 EX(CMD_tags, "tags", do_tags, |
6398 | 1427 TRLBAR|CMDWIN, |
1428 ADDR_LINES), | |
684 | 1429 EX(CMD_tab, "tab", ex_wrongmodifier, |
6398 | 1430 NEEDARG|EXTRA|NOTRLCOM, |
10739
380e706814da
patch 8.0.0259: tab commands do not handle count correctly
Christian Brabandt <cb@256bit.org>
parents:
10722
diff
changeset
|
1431 ADDR_TABS), |
667 | 1432 EX(CMD_tabclose, "tabclose", ex_tabclose, |
10739
380e706814da
patch 8.0.0259: tab commands do not handle count correctly
Christian Brabandt <cb@256bit.org>
parents:
10722
diff
changeset
|
1433 BANG|RANGE|NOTADR|ZEROR|EXTRA|NOSPC|TRLBAR|CMDWIN, |
6398 | 1434 ADDR_TABS), |
685 | 1435 EX(CMD_tabdo, "tabdo", ex_listdo, |
6474 | 1436 NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL, |
1437 ADDR_TABS), | |
677 | 1438 EX(CMD_tabedit, "tabedit", ex_splitview, |
6398 | 1439 BANG|FILE1|RANGE|NOTADR|ZEROR|EDITCMD|ARGOPT|TRLBAR, |
1440 ADDR_TABS), | |
677 | 1441 EX(CMD_tabfind, "tabfind", ex_splitview, |
6398 | 1442 BANG|FILE1|RANGE|NOTADR|ZEROR|EDITCMD|ARGOPT|NEEDARG|TRLBAR, |
1443 ADDR_TABS), | |
685 | 1444 EX(CMD_tabfirst, "tabfirst", ex_tabnext, |
6398 | 1445 TRLBAR, |
10739
380e706814da
patch 8.0.0259: tab commands do not handle count correctly
Christian Brabandt <cb@256bit.org>
parents:
10722
diff
changeset
|
1446 ADDR_TABS), |
684 | 1447 EX(CMD_tabmove, "tabmove", ex_tabmove, |
6398 | 1448 RANGE|NOTADR|ZEROR|EXTRA|NOSPC|TRLBAR, |
1449 ADDR_TABS), | |
685 | 1450 EX(CMD_tablast, "tablast", ex_tabnext, |
6398 | 1451 TRLBAR, |
10739
380e706814da
patch 8.0.0259: tab commands do not handle count correctly
Christian Brabandt <cb@256bit.org>
parents:
10722
diff
changeset
|
1452 ADDR_TABS), |
684 | 1453 EX(CMD_tabnext, "tabnext", ex_tabnext, |
10739
380e706814da
patch 8.0.0259: tab commands do not handle count correctly
Christian Brabandt <cb@256bit.org>
parents:
10722
diff
changeset
|
1454 RANGE|NOTADR|ZEROR|EXTRA|NOSPC|TRLBAR, |
380e706814da
patch 8.0.0259: tab commands do not handle count correctly
Christian Brabandt <cb@256bit.org>
parents:
10722
diff
changeset
|
1455 ADDR_TABS), |
677 | 1456 EX(CMD_tabnew, "tabnew", ex_splitview, |
6398 | 1457 BANG|FILE1|RANGE|NOTADR|ZEROR|EDITCMD|ARGOPT|TRLBAR, |
1458 ADDR_TABS), | |
673 | 1459 EX(CMD_tabonly, "tabonly", ex_tabonly, |
10739
380e706814da
patch 8.0.0259: tab commands do not handle count correctly
Christian Brabandt <cb@256bit.org>
parents:
10722
diff
changeset
|
1460 BANG|RANGE|NOTADR|ZEROR|EXTRA|NOSPC|TRLBAR|CMDWIN, |
6398 | 1461 ADDR_TABS), |
685 | 1462 EX(CMD_tabprevious, "tabprevious", ex_tabnext, |
10739
380e706814da
patch 8.0.0259: tab commands do not handle count correctly
Christian Brabandt <cb@256bit.org>
parents:
10722
diff
changeset
|
1463 RANGE|NOTADR|ZEROR|EXTRA|NOSPC|TRLBAR, |
380e706814da
patch 8.0.0259: tab commands do not handle count correctly
Christian Brabandt <cb@256bit.org>
parents:
10722
diff
changeset
|
1464 ADDR_TABS_RELATIVE), |
685 | 1465 EX(CMD_tabNext, "tabNext", ex_tabnext, |
10739
380e706814da
patch 8.0.0259: tab commands do not handle count correctly
Christian Brabandt <cb@256bit.org>
parents:
10722
diff
changeset
|
1466 RANGE|NOTADR|ZEROR|EXTRA|NOSPC|TRLBAR, |
380e706814da
patch 8.0.0259: tab commands do not handle count correctly
Christian Brabandt <cb@256bit.org>
parents:
10722
diff
changeset
|
1467 ADDR_TABS_RELATIVE), |
685 | 1468 EX(CMD_tabrewind, "tabrewind", ex_tabnext, |
6398 | 1469 TRLBAR, |
10739
380e706814da
patch 8.0.0259: tab commands do not handle count correctly
Christian Brabandt <cb@256bit.org>
parents:
10722
diff
changeset
|
1470 ADDR_TABS), |
667 | 1471 EX(CMD_tabs, "tabs", ex_tabs, |
6398 | 1472 TRLBAR|CMDWIN, |
10739
380e706814da
patch 8.0.0259: tab commands do not handle count correctly
Christian Brabandt <cb@256bit.org>
parents:
10722
diff
changeset
|
1473 ADDR_TABS), |
7 | 1474 EX(CMD_tcl, "tcl", ex_tcl, |
6398 | 1475 RANGE|EXTRA|NEEDARG|CMDWIN, |
1476 ADDR_LINES), | |
7 | 1477 EX(CMD_tcldo, "tcldo", ex_tcldo, |
6398 | 1478 RANGE|DFLALL|EXTRA|NEEDARG|CMDWIN, |
1479 ADDR_LINES), | |
7 | 1480 EX(CMD_tclfile, "tclfile", ex_tclfile, |
6398 | 1481 RANGE|FILE1|NEEDARG|CMDWIN, |
1482 ADDR_LINES), | |
7 | 1483 EX(CMD_tearoff, "tearoff", ex_tearoff, |
6398 | 1484 NEEDARG|EXTRA|TRLBAR|NOTRLCOM|CMDWIN, |
1485 ADDR_LINES), | |
11623
b89dd2d3f8fb
patch 8.0.0694: building in shadow directory does not work
Christian Brabandt <cb@256bit.org>
parents:
11611
diff
changeset
|
1486 EX(CMD_terminal, "terminal", ex_terminal, |
12457
dfb8254aa735
patch 8.0.1108: cannot specify mappings for the terminal window
Christian Brabandt <cb@256bit.org>
parents:
12192
diff
changeset
|
1487 RANGE|BANG|FILES|CMDWIN, |
12192
6947d5bcf57f
patch 8.0.0976: cannot send lines to a terminal job
Christian Brabandt <cb@256bit.org>
parents:
12060
diff
changeset
|
1488 ADDR_LINES), |
7 | 1489 EX(CMD_tfirst, "tfirst", ex_tag, |
6398 | 1490 RANGE|NOTADR|BANG|TRLBAR|ZEROR, |
1491 ADDR_LINES), | |
7 | 1492 EX(CMD_throw, "throw", ex_throw, |
6398 | 1493 EXTRA|NEEDARG|SBOXOK|CMDWIN, |
1494 ADDR_LINES), | |
7 | 1495 EX(CMD_tjump, "tjump", ex_tag, |
6398 | 1496 BANG|TRLBAR|WORD1, |
1497 ADDR_LINES), | |
7 | 1498 EX(CMD_tlast, "tlast", ex_tag, |
6398 | 1499 BANG|TRLBAR, |
1500 ADDR_LINES), | |
12481
bcd9b3e4a5c8
patch 8.0.1120: :tm means :tmap instead of :tmenu
Christian Brabandt <cb@256bit.org>
parents:
12457
diff
changeset
|
1501 EX(CMD_tmenu, "tmenu", ex_menu, |
bcd9b3e4a5c8
patch 8.0.1120: :tm means :tmap instead of :tmenu
Christian Brabandt <cb@256bit.org>
parents:
12457
diff
changeset
|
1502 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
bcd9b3e4a5c8
patch 8.0.1120: :tm means :tmap instead of :tmenu
Christian Brabandt <cb@256bit.org>
parents:
12457
diff
changeset
|
1503 ADDR_LINES), |
12457
dfb8254aa735
patch 8.0.1108: cannot specify mappings for the terminal window
Christian Brabandt <cb@256bit.org>
parents:
12192
diff
changeset
|
1504 EX(CMD_tmap, "tmap", ex_map, |
dfb8254aa735
patch 8.0.1108: cannot specify mappings for the terminal window
Christian Brabandt <cb@256bit.org>
parents:
12192
diff
changeset
|
1505 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
dfb8254aa735
patch 8.0.1108: cannot specify mappings for the terminal window
Christian Brabandt <cb@256bit.org>
parents:
12192
diff
changeset
|
1506 ADDR_LINES), |
dfb8254aa735
patch 8.0.1108: cannot specify mappings for the terminal window
Christian Brabandt <cb@256bit.org>
parents:
12192
diff
changeset
|
1507 EX(CMD_tmapclear, "tmapclear", ex_mapclear, |
dfb8254aa735
patch 8.0.1108: cannot specify mappings for the terminal window
Christian Brabandt <cb@256bit.org>
parents:
12192
diff
changeset
|
1508 EXTRA|TRLBAR|CMDWIN, |
dfb8254aa735
patch 8.0.1108: cannot specify mappings for the terminal window
Christian Brabandt <cb@256bit.org>
parents:
12192
diff
changeset
|
1509 ADDR_LINES), |
7 | 1510 EX(CMD_tnext, "tnext", ex_tag, |
6398 | 1511 RANGE|NOTADR|BANG|TRLBAR|ZEROR, |
1512 ADDR_LINES), | |
12457
dfb8254aa735
patch 8.0.1108: cannot specify mappings for the terminal window
Christian Brabandt <cb@256bit.org>
parents:
12192
diff
changeset
|
1513 EX(CMD_tnoremap, "tnoremap", ex_map, |
dfb8254aa735
patch 8.0.1108: cannot specify mappings for the terminal window
Christian Brabandt <cb@256bit.org>
parents:
12192
diff
changeset
|
1514 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
dfb8254aa735
patch 8.0.1108: cannot specify mappings for the terminal window
Christian Brabandt <cb@256bit.org>
parents:
12192
diff
changeset
|
1515 ADDR_LINES), |
7 | 1516 EX(CMD_topleft, "topleft", ex_wrongmodifier, |
6398 | 1517 NEEDARG|EXTRA|NOTRLCOM, |
1518 ADDR_LINES), | |
7 | 1519 EX(CMD_tprevious, "tprevious", ex_tag, |
6398 | 1520 RANGE|NOTADR|BANG|TRLBAR|ZEROR, |
1521 ADDR_LINES), | |
7 | 1522 EX(CMD_trewind, "trewind", ex_tag, |
6398 | 1523 RANGE|NOTADR|BANG|TRLBAR|ZEROR, |
1524 ADDR_LINES), | |
7 | 1525 EX(CMD_try, "try", ex_try, |
6398 | 1526 TRLBAR|SBOXOK|CMDWIN, |
1527 ADDR_LINES), | |
7 | 1528 EX(CMD_tselect, "tselect", ex_tag, |
6398 | 1529 BANG|TRLBAR|WORD1, |
1530 ADDR_LINES), | |
12481
bcd9b3e4a5c8
patch 8.0.1120: :tm means :tmap instead of :tmenu
Christian Brabandt <cb@256bit.org>
parents:
12457
diff
changeset
|
1531 EX(CMD_tunmenu, "tunmenu", ex_menu, |
12457
dfb8254aa735
patch 8.0.1108: cannot specify mappings for the terminal window
Christian Brabandt <cb@256bit.org>
parents:
12192
diff
changeset
|
1532 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
dfb8254aa735
patch 8.0.1108: cannot specify mappings for the terminal window
Christian Brabandt <cb@256bit.org>
parents:
12192
diff
changeset
|
1533 ADDR_LINES), |
12481
bcd9b3e4a5c8
patch 8.0.1120: :tm means :tmap instead of :tmenu
Christian Brabandt <cb@256bit.org>
parents:
12457
diff
changeset
|
1534 EX(CMD_tunmap, "tunmap", ex_unmap, |
6398 | 1535 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1536 ADDR_LINES), | |
7 | 1537 EX(CMD_undo, "undo", ex_undo, |
6398 | 1538 RANGE|NOTADR|COUNT|ZEROR|TRLBAR|CMDWIN, |
1539 ADDR_LINES), | |
774 | 1540 EX(CMD_undojoin, "undojoin", ex_undojoin, |
6398 | 1541 TRLBAR|CMDWIN, |
1542 ADDR_LINES), | |
774 | 1543 EX(CMD_undolist, "undolist", ex_undolist, |
6398 | 1544 TRLBAR|CMDWIN, |
1545 ADDR_LINES), | |
7 | 1546 EX(CMD_unabbreviate, "unabbreviate", ex_abbreviate, |
6398 | 1547 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1548 ADDR_LINES), | |
7 | 1549 EX(CMD_unhide, "unhide", ex_buffer_all, |
6398 | 1550 RANGE|NOTADR|COUNT|TRLBAR, |
1551 ADDR_LINES), | |
7 | 1552 EX(CMD_unlet, "unlet", ex_unlet, |
6398 | 1553 BANG|EXTRA|NEEDARG|SBOXOK|CMDWIN, |
1554 ADDR_LINES), | |
151 | 1555 EX(CMD_unlockvar, "unlockvar", ex_lockvar, |
6398 | 1556 BANG|EXTRA|NEEDARG|SBOXOK|CMDWIN, |
1557 ADDR_LINES), | |
7 | 1558 EX(CMD_unmap, "unmap", ex_unmap, |
6398 | 1559 BANG|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1560 ADDR_LINES), | |
7 | 1561 EX(CMD_unmenu, "unmenu", ex_menu, |
6398 | 1562 BANG|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1563 ADDR_LINES), | |
1926 | 1564 EX(CMD_unsilent, "unsilent", ex_wrongmodifier, |
6398 | 1565 NEEDARG|EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
1566 ADDR_LINES), | |
7 | 1567 EX(CMD_update, "update", ex_update, |
6398 | 1568 RANGE|WHOLEFOLD|BANG|FILE1|ARGOPT|DFLALL|TRLBAR, |
1569 ADDR_LINES), | |
7 | 1570 EX(CMD_vglobal, "vglobal", ex_global, |
6398 | 1571 RANGE|WHOLEFOLD|EXTRA|DFLALL|CMDWIN, |
1572 ADDR_LINES), | |
7 | 1573 EX(CMD_version, "version", ex_version, |
6398 | 1574 EXTRA|TRLBAR|CMDWIN, |
1575 ADDR_LINES), | |
7 | 1576 EX(CMD_verbose, "verbose", ex_wrongmodifier, |
6398 | 1577 NEEDARG|RANGE|NOTADR|EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
1578 ADDR_LINES), | |
7 | 1579 EX(CMD_vertical, "vertical", ex_wrongmodifier, |
6398 | 1580 NEEDARG|EXTRA|NOTRLCOM, |
1581 ADDR_LINES), | |
7 | 1582 EX(CMD_visual, "visual", ex_edit, |
6398 | 1583 BANG|FILE1|EDITCMD|ARGOPT|TRLBAR, |
1584 ADDR_LINES), | |
7 | 1585 EX(CMD_view, "view", ex_edit, |
6398 | 1586 BANG|FILE1|EDITCMD|ARGOPT|TRLBAR, |
1587 ADDR_LINES), | |
41 | 1588 EX(CMD_vimgrep, "vimgrep", ex_vimgrep, |
6398 | 1589 RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE, |
1590 ADDR_LINES), | |
41 | 1591 EX(CMD_vimgrepadd, "vimgrepadd", ex_vimgrep, |
6398 | 1592 RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE, |
1593 ADDR_LINES), | |
40 | 1594 EX(CMD_viusage, "viusage", ex_viusage, |
6398 | 1595 TRLBAR, |
1596 ADDR_LINES), | |
7 | 1597 EX(CMD_vmap, "vmap", ex_map, |
6398 | 1598 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1599 ADDR_LINES), | |
7 | 1600 EX(CMD_vmapclear, "vmapclear", ex_mapclear, |
6398 | 1601 EXTRA|TRLBAR|CMDWIN, |
1602 ADDR_LINES), | |
7 | 1603 EX(CMD_vmenu, "vmenu", ex_menu, |
6398 | 1604 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1605 ADDR_LINES), | |
7 | 1606 EX(CMD_vnoremap, "vnoremap", ex_map, |
6398 | 1607 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1608 ADDR_LINES), | |
7 | 1609 EX(CMD_vnew, "vnew", ex_splitview, |
6398 | 1610 BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR, |
1611 ADDR_LINES), | |
7 | 1612 EX(CMD_vnoremenu, "vnoremenu", ex_menu, |
6398 | 1613 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1614 ADDR_LINES), | |
7 | 1615 EX(CMD_vsplit, "vsplit", ex_splitview, |
6398 | 1616 BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR, |
1617 ADDR_LINES), | |
7 | 1618 EX(CMD_vunmap, "vunmap", ex_unmap, |
6398 | 1619 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1620 ADDR_LINES), | |
7 | 1621 EX(CMD_vunmenu, "vunmenu", ex_menu, |
6398 | 1622 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1623 ADDR_LINES), | |
7 | 1624 EX(CMD_write, "write", ex_write, |
6398 | 1625 RANGE|WHOLEFOLD|BANG|FILE1|ARGOPT|DFLALL|TRLBAR|CMDWIN, |
1626 ADDR_LINES), | |
7 | 1627 EX(CMD_wNext, "wNext", ex_wnext, |
6398 | 1628 RANGE|WHOLEFOLD|NOTADR|BANG|FILE1|ARGOPT|TRLBAR, |
1629 ADDR_LINES), | |
7 | 1630 EX(CMD_wall, "wall", do_wqall, |
6398 | 1631 BANG|TRLBAR|CMDWIN, |
1632 ADDR_LINES), | |
7 | 1633 EX(CMD_while, "while", ex_while, |
6398 | 1634 EXTRA|NOTRLCOM|SBOXOK|CMDWIN, |
1635 ADDR_LINES), | |
7 | 1636 EX(CMD_winsize, "winsize", ex_winsize, |
6398 | 1637 EXTRA|NEEDARG|TRLBAR, |
1638 ADDR_LINES), | |
7 | 1639 EX(CMD_wincmd, "wincmd", ex_wincmd, |
11643
db3ac953b942
patch 8.0.0704: problems with autocommands when opening help
Christian Brabandt <cb@256bit.org>
parents:
11623
diff
changeset
|
1640 NEEDARG|WORD1|RANGE|NOTADR|CMDWIN, |
6472 | 1641 ADDR_WINDOWS), |
7 | 1642 EX(CMD_windo, "windo", ex_listdo, |
11350
10e51185826a
patch 8.0.0560: :windo allows for ! but it's not supported
Christian Brabandt <cb@256bit.org>
parents:
10739
diff
changeset
|
1643 NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL, |
6474 | 1644 ADDR_WINDOWS), |
7 | 1645 EX(CMD_winpos, "winpos", ex_winpos, |
6398 | 1646 EXTRA|TRLBAR|CMDWIN, |
1647 ADDR_LINES), | |
7 | 1648 EX(CMD_wnext, "wnext", ex_wnext, |
6398 | 1649 RANGE|NOTADR|BANG|FILE1|ARGOPT|TRLBAR, |
1650 ADDR_LINES), | |
7 | 1651 EX(CMD_wprevious, "wprevious", ex_wnext, |
6398 | 1652 RANGE|NOTADR|BANG|FILE1|ARGOPT|TRLBAR, |
1653 ADDR_LINES), | |
7 | 1654 EX(CMD_wq, "wq", ex_exit, |
6398 | 1655 RANGE|WHOLEFOLD|BANG|FILE1|ARGOPT|DFLALL|TRLBAR, |
1656 ADDR_LINES), | |
7 | 1657 EX(CMD_wqall, "wqall", do_wqall, |
6398 | 1658 BANG|FILE1|ARGOPT|DFLALL|TRLBAR, |
1659 ADDR_LINES), | |
7 | 1660 EX(CMD_wsverb, "wsverb", ex_wsverb, |
6398 | 1661 EXTRA|NOTADR|NEEDARG, |
1662 ADDR_LINES), | |
2214
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2210
diff
changeset
|
1663 EX(CMD_wundo, "wundo", ex_wundo, |
6398 | 1664 BANG|NEEDARG|FILE1, |
1665 ADDR_LINES), | |
7 | 1666 EX(CMD_wviminfo, "wviminfo", ex_viminfo, |
6398 | 1667 BANG|FILE1|TRLBAR|CMDWIN, |
1668 ADDR_LINES), | |
7 | 1669 EX(CMD_xit, "xit", ex_exit, |
6398 | 1670 RANGE|WHOLEFOLD|BANG|FILE1|ARGOPT|DFLALL|TRLBAR|CMDWIN, |
1671 ADDR_LINES), | |
7 | 1672 EX(CMD_xall, "xall", do_wqall, |
6398 | 1673 BANG|TRLBAR, |
1674 ADDR_LINES), | |
791 | 1675 EX(CMD_xmap, "xmap", ex_map, |
6398 | 1676 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1677 ADDR_LINES), | |
791 | 1678 EX(CMD_xmapclear, "xmapclear", ex_mapclear, |
6398 | 1679 EXTRA|TRLBAR|CMDWIN, |
1680 ADDR_LINES), | |
791 | 1681 EX(CMD_xmenu, "xmenu", ex_menu, |
6398 | 1682 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1683 ADDR_LINES), | |
791 | 1684 EX(CMD_xnoremap, "xnoremap", ex_map, |
6398 | 1685 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1686 ADDR_LINES), | |
791 | 1687 EX(CMD_xnoremenu, "xnoremenu", ex_menu, |
6398 | 1688 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1689 ADDR_LINES), | |
791 | 1690 EX(CMD_xunmap, "xunmap", ex_unmap, |
6398 | 1691 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1692 ADDR_LINES), | |
791 | 1693 EX(CMD_xunmenu, "xunmenu", ex_menu, |
6398 | 1694 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN, |
1695 ADDR_LINES), | |
7 | 1696 EX(CMD_yank, "yank", ex_operators, |
6398 | 1697 RANGE|WHOLEFOLD|REGSTR|COUNT|TRLBAR|CMDWIN, |
1698 ADDR_LINES), | |
7 | 1699 EX(CMD_z, "z", ex_z, |
6398 | 1700 RANGE|WHOLEFOLD|EXTRA|EXFLAGS|TRLBAR|CMDWIN, |
1701 ADDR_LINES), | |
7 | 1702 |
1703 /* commands that don't start with a lowercase letter */ | |
1704 EX(CMD_bang, "!", ex_bang, | |
6398 | 1705 RANGE|WHOLEFOLD|BANG|FILES|CMDWIN, |
1706 ADDR_LINES), | |
7 | 1707 EX(CMD_pound, "#", ex_print, |
6398 | 1708 RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN, |
1709 ADDR_LINES), | |
7 | 1710 EX(CMD_and, "&", do_sub, |
6398 | 1711 RANGE|WHOLEFOLD|EXTRA|CMDWIN|MODIFY, |
1712 ADDR_LINES), | |
7 | 1713 EX(CMD_star, "*", ex_at, |
6398 | 1714 RANGE|WHOLEFOLD|EXTRA|TRLBAR|CMDWIN, |
1715 ADDR_LINES), | |
7 | 1716 EX(CMD_lshift, "<", ex_operators, |
6398 | 1717 RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN|MODIFY, |
1718 ADDR_LINES), | |
7 | 1719 EX(CMD_equal, "=", ex_equal, |
6398 | 1720 RANGE|TRLBAR|DFLALL|EXFLAGS|CMDWIN, |
1721 ADDR_LINES), | |
7 | 1722 EX(CMD_rshift, ">", ex_operators, |
6398 | 1723 RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN|MODIFY, |
1724 ADDR_LINES), | |
7 | 1725 EX(CMD_at, "@", ex_at, |
6398 | 1726 RANGE|WHOLEFOLD|EXTRA|TRLBAR|CMDWIN, |
1727 ADDR_LINES), | |
7 | 1728 EX(CMD_Next, "Next", ex_previous, |
6398 | 1729 EXTRA|RANGE|NOTADR|COUNT|BANG|EDITCMD|ARGOPT|TRLBAR, |
1730 ADDR_LINES), | |
7 | 1731 EX(CMD_Print, "Print", ex_print, |
6398 | 1732 RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN, |
1733 ADDR_LINES), | |
7 | 1734 EX(CMD_X, "X", ex_X, |
6398 | 1735 TRLBAR, |
1736 ADDR_LINES), | |
7 | 1737 EX(CMD_tilde, "~", do_sub, |
6398 | 1738 RANGE|WHOLEFOLD|EXTRA|CMDWIN|MODIFY, |
1739 ADDR_LINES), | |
7 | 1740 |
1741 #ifndef DO_DECLARE_EXCMD | |
1742 #ifdef FEAT_USR_CMDS | |
1743 CMD_SIZE, /* MUST be after all real commands! */ | |
1744 CMD_USER = -1, /* User-defined command */ | |
1745 CMD_USER_BUF = -2 /* User-defined command local to buffer */ | |
1746 #else | |
1747 CMD_SIZE /* MUST be the last one! */ | |
1748 #endif | |
1749 #endif | |
1750 }; | |
1751 | |
1752 #ifndef DO_DECLARE_EXCMD | |
1753 typedef enum CMD_index cmdidx_T; | |
1754 | |
1755 /* | |
1756 * Arguments used for Ex commands. | |
1757 */ | |
1758 struct exarg | |
1759 { | |
1760 char_u *arg; /* argument of the command */ | |
1761 char_u *nextcmd; /* next command (NULL if none) */ | |
1762 char_u *cmd; /* the name of the command (except for :make) */ | |
1763 char_u **cmdlinep; /* pointer to pointer of allocated cmdline */ | |
1764 cmdidx_T cmdidx; /* the index for the command */ | |
1765 long argt; /* flags for the command */ | |
1766 int skip; /* don't execute the command, only parse it */ | |
1767 int forceit; /* TRUE if ! present */ | |
1768 int addr_count; /* the number of addresses given */ | |
1769 linenr_T line1; /* the first line number */ | |
1770 linenr_T line2; /* the second line number or count */ | |
6398 | 1771 int addr_type; /* type of the count/range */ |
169 | 1772 int flags; /* extra flags after count: EXFLAG_ */ |
7 | 1773 char_u *do_ecmd_cmd; /* +command arg to be used in edited file */ |
1774 linenr_T do_ecmd_lnum; /* the line number in an edited file */ | |
1775 int append; /* TRUE with ":w >>file" command */ | |
1776 int usefilter; /* TRUE with ":w !command" and ":r!command" */ | |
1777 int amount; /* number of '>' or '<' for shift command */ | |
1778 int regname; /* register name (NUL if none) */ | |
1779 int force_bin; /* 0, FORCE_BIN or FORCE_NOBIN */ | |
819 | 1780 int read_edit; /* ++edit argument */ |
13575
4df23d9bad47
patch 8.0.1660: the terminal API "drop" command doesn't support options
Christian Brabandt <cb@256bit.org>
parents:
12481
diff
changeset
|
1781 int force_ff; /* ++ff= argument (first char of argument) */ |
7 | 1782 #ifdef FEAT_MBYTE |
597 | 1783 int force_enc; /* ++enc= argument (index in cmd[]) */ |
2168 | 1784 int bad_char; /* BAD_KEEP, BAD_DROP or replacement byte */ |
7 | 1785 #endif |
1786 #ifdef FEAT_USR_CMDS | |
1787 int useridx; /* user command index */ | |
1788 #endif | |
1789 char_u *errmsg; /* returned error message */ | |
7807
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
7726
diff
changeset
|
1790 char_u *(*getline)(int, void *, int); |
7 | 1791 void *cookie; /* argument for getline() */ |
1792 #ifdef FEAT_EVAL | |
1793 struct condstack *cstack; /* condition stack for ":if" etc. */ | |
1794 #endif | |
1795 }; | |
1796 | |
1797 #define FORCE_BIN 1 /* ":edit ++bin file" */ | |
1798 #define FORCE_NOBIN 2 /* ":edit ++nobin file" */ | |
1799 | |
169 | 1800 /* Values for "flags" */ |
1801 #define EXFLAG_LIST 0x01 /* 'l': list */ | |
1802 #define EXFLAG_NR 0x02 /* '#': number */ | |
1803 #define EXFLAG_PRINT 0x04 /* 'p': print */ | |
1804 | |
7 | 1805 #endif |