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