comparison runtime/doc/message.txt @ 29290:dc4de65a7fb7

Update runtime files Commit: https://github.com/vim/vim/commit/8a3b805c6c9cae341d560df9c3567ebbe42a7404 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 26 12:21:15 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sun, 26 Jun 2022 13:30:04 +0200
parents 5825405e4e2c
children f8116058ca76
comparison
equal deleted inserted replaced
29289:430376616aac 29290:dc4de65a7fb7
76 76
77 77
78 LIST OF MESSAGES 78 LIST OF MESSAGES
79 *E222* *E228* *E232* *E293* *E298* *E304* *E317* 79 *E222* *E228* *E232* *E293* *E298* *E304* *E317*
80 *E318* *E356* *E438* *E439* *E440* *E316* *E320* *E322* 80 *E318* *E356* *E438* *E439* *E440* *E316* *E320* *E322*
81 *E323* *E341* *E473* *E570* *E685* *E292* 81 *E323* *E341* *E473* *E570* *E685* *E292*
82 Add to read buffer ~ 82 Add to read buffer ~
83 makemap: Illegal mode ~ 83 makemap: Illegal mode ~
84 Cannot create BalloonEval with both message and callback ~ 84 Cannot create BalloonEval with both message and callback ~
85 block was not locked ~ 85 block was not locked ~
86 Didn't get block nr {N}? ~ 86 Didn't get block nr {N}? ~
107 ATTENTION ~ 107 ATTENTION ~
108 Found a swap file by the name ... ~ 108 Found a swap file by the name ... ~
109 109
110 See |ATTENTION|. 110 See |ATTENTION|.
111 111
112 *E92* 112 *E92*
113 Buffer {N} not found ~ 113 Buffer {N} not found ~
114 114
115 The buffer you requested does not exist. This can also happen when you have 115 The buffer you requested does not exist. This can also happen when you have
116 wiped out a buffer which contains a mark or is referenced in another way. 116 wiped out a buffer which contains a mark or is referenced in another way.
117 |:bwipeout| 117 |:bwipeout|
118 118
119 *E95* 119 *E95*
120 Buffer with this name already exists ~ 120 Buffer with this name already exists ~
121 121
122 You cannot have two buffers with exactly the same name. This includes the 122 You cannot have two buffers with exactly the same name. This includes the
123 path leading to the file. 123 path leading to the file.
124 124
125 *E72* 125 *E72*
126 Close error on swap file ~ 126 Close error on swap file ~
127 127
128 The |swap-file|, that is used to keep a copy of the edited text, could not be 128 The |swap-file|, that is used to keep a copy of the edited text, could not be
129 closed properly. Mostly harmless. 129 closed properly. Mostly harmless.
130 130
131 *E169* 131 *E169*
132 Command too recursive ~ 132 Command too recursive ~
133 133
134 This happens when an Ex command executes an Ex command that executes an Ex 134 This happens when an Ex command executes an Ex command that executes an Ex
135 command, etc. The limit is 200 or the value of 'maxfuncdepth', whatever is 135 command, etc. The limit is 200 or the value of 'maxfuncdepth', whatever is
136 larger. When it's more there probably is an endless loop. Probably a 136 larger. When it's more there probably is an endless loop. Probably a
137 |:execute| or |:source| command is involved. 137 |:execute| or |:source| command is involved.
138 138
139 *E254* 139 *E254*
140 Cannot allocate color {name} ~ 140 Cannot allocate color {name} ~
141 141
142 The color name {name} is unknown. See |gui-colors| for a list of colors that 142 The color name {name} is unknown. See |gui-colors| for a list of colors that
143 are available on most systems. 143 are available on most systems.
144 144
145 *E1244* 145 *E1244*
146 Bad color string: {str} ~ 146 Bad color string: {str} ~
147 147
148 The provided color did not conform to the pattern #rrggbb 148 The provided color did not conform to the pattern #rrggbb
149 149
150 *E458* 150 *E458*
151 Cannot allocate colormap entry, some colors may be incorrect ~ 151 Cannot allocate colormap entry, some colors may be incorrect ~
152 152
153 This means that there are not enough colors available for Vim. It will still 153 This means that there are not enough colors available for Vim. It will still
154 run, but some of the colors will not appear in the specified color. Try 154 run, but some of the colors will not appear in the specified color. Try
155 stopping other applications that use many colors, or start them after starting 155 stopping other applications that use many colors, or start them after starting
162 This can also be done with a line in your Xdefaults file: 162 This can also be done with a line in your Xdefaults file:
163 Netscape*installColormap: Yes ~ 163 Netscape*installColormap: Yes ~
164 or 164 or
165 Netscape*maxImageColors: 64 ~ 165 Netscape*maxImageColors: 64 ~
166 166
167 *E79* 167 *E79*
168 Cannot expand wildcards ~ 168 Cannot expand wildcards ~
169 169
170 A filename contains a strange combination of characters, which causes Vim to 170 A filename contains a strange combination of characters, which causes Vim to
171 attempt expanding wildcards but this fails. This does NOT mean that no 171 attempt expanding wildcards but this fails. This does NOT mean that no
172 matching file names could be found, but that the pattern was illegal. 172 matching file names could be found, but that the pattern was illegal.
173 173
174 *E459* 174 *E459*
175 Cannot go back to previous directory ~ 175 Cannot go back to previous directory ~
176 176
177 While expanding a file name, Vim failed to go back to the previously used 177 While expanding a file name, Vim failed to go back to the previously used
178 directory. All file names being used may be invalid now! You need to have 178 directory. All file names being used may be invalid now! You need to have
179 execute permission on the current directory. 179 execute permission on the current directory.
180 180
181 *E190* *E212* 181 *E190* *E212*
182 Cannot open "{filename}" for writing ~ 182 Cannot open "{filename}" for writing ~
183 Can't open file for writing ~ 183 Can't open file for writing ~
184 184
185 For some reason the file you are writing to cannot be created or overwritten. 185 For some reason the file you are writing to cannot be created or overwritten.
186 The reason could be that you do not have permission to write in the directory 186 The reason could be that you do not have permission to write in the directory
187 or the file name is not valid. 187 or the file name is not valid.
188 188
189 *E166* 189 *E166*
190 Can't open linked file for writing ~ 190 Can't open linked file for writing ~
191 191
192 You are trying to write to a file which can't be overwritten, and the file is 192 You are trying to write to a file which can't be overwritten, and the file is
193 a link (either a hard link or a symbolic link). Writing might still be 193 a link (either a hard link or a symbolic link). Writing might still be
194 possible if the directory that contains the link or the file is writable, but 194 possible if the directory that contains the link or the file is writable, but
196 place, or if you want to delete the file itself and write the new file in its 196 place, or if you want to delete the file itself and write the new file in its
197 place. If you really want to write the file under this name, you have to 197 place. If you really want to write the file under this name, you have to
198 manually delete the link or the file, or change the permissions so that Vim 198 manually delete the link or the file, or change the permissions so that Vim
199 can overwrite. 199 can overwrite.
200 200
201 *E46* 201 *E46*
202 Cannot change read-only variable "{name}" ~ 202 Cannot change read-only variable "{name}" ~
203 203
204 You are trying to assign a value to an argument of a function |a:var| or a Vim 204 You are trying to assign a value to an argument of a function |a:var| or a Vim
205 internal variable |v:var| which is read-only. 205 internal variable |v:var| which is read-only.
206 206
207 *E90* 207 *E90*
208 Cannot unload last buffer ~ 208 Cannot unload last buffer ~
209 209
210 Vim always requires one buffer to be loaded, otherwise there would be nothing 210 Vim always requires one buffer to be loaded, otherwise there would be nothing
211 to display in the window. 211 to display in the window.
212 212
213 *E40* 213 *E40*
214 Can't open errorfile <filename> ~ 214 Can't open errorfile <filename> ~
215 215
216 When using the ":make" or ":grep" commands: The file used to save the error 216 When using the ":make" or ":grep" commands: The file used to save the error
217 messages or grep output cannot be opened. This can have several causes: 217 messages or grep output cannot be opened. This can have several causes:
218 - 'shellredir' has a wrong value. 218 - 'shellredir' has a wrong value.
221 command is still executed in the wrong directory. 221 command is still executed in the wrong directory.
222 - 'makeef' has a wrong value. 222 - 'makeef' has a wrong value.
223 - The 'grepprg' or 'makeprg' could not be executed. This cannot always be 223 - The 'grepprg' or 'makeprg' could not be executed. This cannot always be
224 detected (especially on MS-Windows). Check your $PATH. 224 detected (especially on MS-Windows). Check your $PATH.
225 225
226 226
227 Can't open file C:\TEMP\VIoD243.TMP ~ 227 Can't open file C:\TEMP\VIoD243.TMP ~
228 228
229 On MS-Windows, this message appears when the output of an external command was 229 On MS-Windows, this message appears when the output of an external command was
230 to be read, but the command didn't run successfully. This can be caused by 230 to be read, but the command didn't run successfully. This can be caused by
231 many things. Check the 'shell', 'shellquote', 'shellxquote', 'shellslash' and 231 many things. Check the 'shell', 'shellquote', 'shellxquote', 'shellslash' and
232 related options. It might also be that the external command was not found, 232 related options. It might also be that the external command was not found,
233 there is no different error message for that. 233 there is no different error message for that.
234 234
235 *E12* 235 *E12*
236 Command not allowed from exrc/vimrc in current dir or tag search ~ 236 Command not allowed from exrc/vimrc in current dir or tag search ~
237 237
238 Some commands are not allowed for security reasons. These commands mostly 238 Some commands are not allowed for security reasons. These commands mostly
239 come from a .exrc or .vimrc file in the current directory, or from a tags 239 come from a .exrc or .vimrc file in the current directory, or from a tags
240 file. Also see 'secure'. 240 file. Also see 'secure'.
241 241
242 *E74* 242 *E74*
243 Command too complex ~ 243 Command too complex ~
244 244
245 A mapping resulted in a very long command string. Could be caused by a 245 A mapping resulted in a very long command string. Could be caused by a
246 mapping that indirectly calls itself. 246 mapping that indirectly calls itself.
247 247
256 care, you can abandon the buffer or reset the 'modified' option. 256 care, you can abandon the buffer or reset the 'modified' option.
257 If there is a backup file, when 'writebackup' or 'backup' is set, it will not 257 If there is a backup file, when 'writebackup' or 'backup' is set, it will not
258 be deleted, so you can move it back into place if you want to discard the 258 be deleted, so you can move it back into place if you want to discard the
259 changes. 259 changes.
260 260
261 *E302* 261 *E302*
262 Could not rename swap file ~ 262 Could not rename swap file ~
263 263
264 When the file name changes, Vim tries to rename the |swap-file| as well. 264 When the file name changes, Vim tries to rename the |swap-file| as well.
265 This failed and the old swap file is now still used. Mostly harmless. 265 This failed and the old swap file is now still used. Mostly harmless.
266 266
267 *E43* *E44* 267 *E43* *E44*
268 Damaged match string ~ 268 Damaged match string ~
269 Corrupted regexp program ~ 269 Corrupted regexp program ~
270 270
271 Something inside Vim went wrong and resulted in a corrupted regexp. If you 271 Something inside Vim went wrong and resulted in a corrupted regexp. If you
272 know how to reproduce this problem, please report it. |bugs| 272 know how to reproduce this problem, please report it. |bugs|
273 273
274 *E208* *E209* *E210* 274 *E208* *E209* *E210*
275 Error writing to "{filename}" ~ 275 Error writing to "{filename}" ~
276 Error closing "{filename}" ~ 276 Error closing "{filename}" ~
277 Error reading "{filename}" ~ 277 Error reading "{filename}" ~
278 278
279 This occurs when Vim is trying to rename a file, but a simple change of file 279 This occurs when Vim is trying to rename a file, but a simple change of file
286 286
287 This occurs when Vim cannot read typed characters while input is required. 287 This occurs when Vim cannot read typed characters while input is required.
288 Vim got stuck, the only thing it can do is exit. This can happen when both 288 Vim got stuck, the only thing it can do is exit. This can happen when both
289 stdin and stderr are redirected and executing a script that doesn't exit Vim. 289 stdin and stderr are redirected and executing a script that doesn't exit Vim.
290 290
291 *E47* 291 *E47*
292 Error while reading errorfile ~ 292 Error while reading errorfile ~
293 293
294 Reading the error file was not possible. This is NOT caused by an error 294 Reading the error file was not possible. This is NOT caused by an error
295 message that was not recognized. 295 message that was not recognized.
296 296
297 *E80* 297 *E80*
298 Error while writing ~ 298 Error while writing ~
299 299
300 Writing a file was not completed successfully. The file is probably 300 Writing a file was not completed successfully. The file is probably
301 incomplete. 301 incomplete.
302 302
303 *E13* *E189* 303 *E13* *E189*
304 File exists (add ! to override) ~ 304 File exists (add ! to override) ~
305 "{filename}" exists (add ! to override) ~ 305 "{filename}" exists (add ! to override) ~
306 306
307 You are protected from accidentally overwriting a file. When you want to 307 You are protected from accidentally overwriting a file. When you want to
308 write anyway, use the same command, but add a "!" just after the command. 308 write anyway, use the same command, but add a "!" just after the command.
309 Example: > 309 Example: >
310 :w /tmp/test 310 :w /tmp/test
311 changes to: > 311 changes to: >
312 :w! /tmp/test 312 :w! /tmp/test
313 < 313 <
314 *E768* 314 *E768*
315 Swap file exists: {filename} (:silent! overrides) ~ 315 Swap file exists: {filename} (:silent! overrides) ~
316 316
317 You are protected from overwriting a file that is being edited by Vim. This 317 You are protected from overwriting a file that is being edited by Vim. This
318 happens when you use ":w! filename" and a swapfile is found. 318 happens when you use ":w! filename" and a swapfile is found.
319 - If the swapfile was left over from an old crashed edit session you may want 319 - If the swapfile was left over from an old crashed edit session you may want
322 - If you want to write anyway prepend ":silent!" to the command. For example: > 322 - If you want to write anyway prepend ":silent!" to the command. For example: >
323 :silent! w! /tmp/test 323 :silent! w! /tmp/test
324 < The special command is needed, since you already added the ! for overwriting 324 < The special command is needed, since you already added the ! for overwriting
325 an existing file. 325 an existing file.
326 326
327 *E139* 327 *E139*
328 File is loaded in another buffer ~ 328 File is loaded in another buffer ~
329 329
330 You are trying to write a file under a name which is also used in another 330 You are trying to write a file under a name which is also used in another
331 buffer. This would result in two versions of the same file. 331 buffer. This would result in two versions of the same file.
332 332
333 *E142* 333 *E142*
334 File not written: Writing is disabled by 'write' option ~ 334 File not written: Writing is disabled by 'write' option ~
335 335
336 The 'write' option is off. This makes all commands that try to write a file 336 The 'write' option is off. This makes all commands that try to write a file
337 generate this message. This could be caused by a |-m| commandline argument. 337 generate this message. This could be caused by a |-m| commandline argument.
338 You can switch the 'write' option on with ":set write". 338 You can switch the 'write' option on with ":set write".
339 339
340 *E25* 340 *E25*
341 GUI cannot be used: Not enabled at compile time ~ 341 GUI cannot be used: Not enabled at compile time ~
342 342
343 You are running a version of Vim that doesn't include the GUI code. Therefore 343 You are running a version of Vim that doesn't include the GUI code. Therefore
344 "gvim" and ":gui" don't work. 344 "gvim" and ":gui" don't work.
345 345
346 *E49* 346 *E49*
347 Invalid scroll size ~ 347 Invalid scroll size ~
348 348
349 This is caused by setting an invalid value for the 'scroll', 'scrolljump' or 349 This is caused by setting an invalid value for the 'scroll', 'scrolljump' or
350 'scrolloff' options. 350 'scrolloff' options.
351 351
352 *E17* 352 *E17*
353 "{filename}" is a directory ~ 353 "{filename}" is a directory ~
354 354
355 You tried to write a file with the name of a directory. This is not possible. 355 You tried to write a file with the name of a directory. This is not possible.
356 You probably need to append a file name. 356 You probably need to append a file name.
357 357
358 *E19* 358 *E19*
359 Mark has invalid line number ~ 359 Mark has invalid line number ~
360 360
361 You are using a mark that has a line number that doesn't exist. This can 361 You are using a mark that has a line number that doesn't exist. This can
362 happen when you have a mark in another file, and some other program has 362 happen when you have a mark in another file, and some other program has
363 deleted lines from it. 363 deleted lines from it.
364 364
365 *E219* *E220* 365 *E219* *E220*
366 Missing {. ~ 366 Missing {. ~
367 Missing }. ~ 367 Missing }. ~
368 368
369 Using a {} construct in a file name, but there is a { without a matching } or 369 Using a {} construct in a file name, but there is a { without a matching } or
370 the other way around. It should be used like this: {foo,bar}. This matches 370 the other way around. It should be used like this: {foo,bar}. This matches
371 "foo" and "bar". 371 "foo" and "bar".
372 372
373 *E315* 373 *E315*
374 ml_get: invalid lnum: {number} ~ 374 ml_get: invalid lnum: {number} ~
375 375
376 This is an internal Vim error. Please try to find out how it can be 376 This is an internal Vim error. Please try to find out how it can be
377 reproduced, and submit a bug report |bugreport.vim|. 377 reproduced, and submit a bug report |bugreport.vim|.
378 378
379 *E173* 379 *E173*
380 {number} more files to edit ~ 380 {number} more files to edit ~
381 381
382 You are trying to exit, while the last item in the argument list has not been 382 You are trying to exit, while the last item in the argument list has not been
383 edited. This protects you from accidentally exiting when you still have more 383 edited. This protects you from accidentally exiting when you still have more
384 files to work on. See |argument-list|. If you do want to exit, just do it 384 files to work on. See |argument-list|. If you do want to exit, just do it
385 again and it will work. 385 again and it will work.
386 386
387 *E23* *E194* 387 *E23* *E194*
388 No alternate file ~ 388 No alternate file ~
389 No alternate file name to substitute for '#' ~ 389 No alternate file name to substitute for '#' ~
390 390
391 The alternate file is not defined yet. See |alternate-file|. 391 The alternate file is not defined yet. See |alternate-file|.
392 392
393 *E32* 393 *E32*
394 No file name ~ 394 No file name ~
395 395
396 The current buffer has no name. To write it, use ":w fname". Or give the 396 The current buffer has no name. To write it, use ":w fname". Or give the
397 buffer a name with ":file fname". 397 buffer a name with ":file fname".
398 398
399 *E141* 399 *E141*
400 No file name for buffer {number} ~ 400 No file name for buffer {number} ~
401 401
402 One of the buffers that was changed does not have a file name. Therefore it 402 One of the buffers that was changed does not have a file name. Therefore it
403 cannot be written. You need to give the buffer a file name: > 403 cannot be written. You need to give the buffer a file name: >
404 :buffer {number} 404 :buffer {number}
405 :file {filename} 405 :file {filename}
406 < 406 <
407 *E33* 407 *E33*
408 No previous substitute regular expression ~ 408 No previous substitute regular expression ~
409 409
410 When using the '~' character in a pattern, it is replaced with the previously 410 When using the '~' character in a pattern, it is replaced with the previously
411 used pattern in a ":substitute" command. This fails when no such command has 411 used pattern in a ":substitute" command. This fails when no such command has
412 been used yet. See |/~|. This also happens when using ":s/pat/%/", where the 412 been used yet. See |/~|. This also happens when using ":s/pat/%/", where the
413 "%" stands for the previous substitute string. 413 "%" stands for the previous substitute string.
414 414
415 *E35* 415 *E35*
416 No previous regular expression ~ 416 No previous regular expression ~
417 417
418 When using an empty search pattern, the previous search pattern is used. But 418 When using an empty search pattern, the previous search pattern is used. But
419 that is not possible if there was no previous search. 419 that is not possible if there was no previous search.
420 420
421 *E24* 421 *E24*
422 No such abbreviation ~ 422 No such abbreviation ~
423 423
424 You have used an ":unabbreviate" command with an argument which is not an 424 You have used an ":unabbreviate" command with an argument which is not an
425 existing abbreviation. All variations of this command give the same message: 425 existing abbreviation. All variations of this command give the same message:
426 ":cunabbrev", ":iunabbrev", etc. Check for trailing white space. 426 ":cunabbrev", ":iunabbrev", etc. Check for trailing white space.
439 ":unmap!", etc. A few hints: 439 ":unmap!", etc. A few hints:
440 - Check for trailing white space. 440 - Check for trailing white space.
441 - If the mapping is buffer-local you need to use ":unmap <buffer>". 441 - If the mapping is buffer-local you need to use ":unmap <buffer>".
442 |:map-<buffer>| 442 |:map-<buffer>|
443 443
444 *E37* *E89* 444 *E37* *E89*
445 No write since last change (add ! to override) ~ 445 No write since last change (add ! to override) ~
446 No write since last change for buffer {N} (add ! to override) ~ 446 No write since last change for buffer {N} (add ! to override) ~
447 447
448 You are trying to |abandon| a file that has changes. Vim protects you from 448 You are trying to |abandon| a file that has changes. Vim protects you from
449 losing your work. You can either write the changed file with ":w", or, if you 449 losing your work. You can either write the changed file with ":w", or, if you
451 adding a '!' character just after the command you used. Example: > 451 adding a '!' character just after the command you used. Example: >
452 :e other_file 452 :e other_file
453 changes to: > 453 changes to: >
454 :e! other_file 454 :e! other_file
455 < 455 <
456 *E162* 456 *E162*
457 No write since last change for buffer "{name}" ~ 457 No write since last change for buffer "{name}" ~
458 458
459 This appears when you try to exit Vim while some buffers are changed. You 459 This appears when you try to exit Vim while some buffers are changed. You
460 will either have to write the changed buffer (with |:w|), or use a command to 460 will either have to write the changed buffer (with |:w|), or use a command to
461 abandon the buffer forcefully, e.g., with ":qa!". Careful, make sure you 461 abandon the buffer forcefully, e.g., with ":qa!". Careful, make sure you
466 [No write since last change] ~ 466 [No write since last change] ~
467 467
468 This appears when executing a shell command while at least one buffer was 468 This appears when executing a shell command while at least one buffer was
469 changed. To avoid the message reset the 'warn' option. 469 changed. To avoid the message reset the 'warn' option.
470 470
471 *E38* 471 *E38*
472 Null argument ~ 472 Null argument ~
473 473
474 Something inside Vim went wrong and resulted in a NULL pointer. If you know 474 Something inside Vim went wrong and resulted in a NULL pointer. If you know
475 how to reproduce this problem, please report it. |bugs| 475 how to reproduce this problem, please report it. |bugs|
476 476
477 *E41* *E82* *E83* *E342* 477 *E41* *E82* *E83* *E342*
478 Out of memory! ~ 478 Out of memory! ~
479 Out of memory! (allocating {number} bytes) ~ 479 Out of memory! (allocating {number} bytes) ~
480 Cannot allocate any buffer, exiting... ~ 480 Cannot allocate any buffer, exiting... ~
481 Cannot allocate buffer, using other one... ~ 481 Cannot allocate buffer, using other one... ~
482 482
494 in memory, you can reduce that with these options: 494 in memory, you can reduce that with these options:
495 - 'undolevels' Set to a low value, or to -1 to disable undo completely. This 495 - 'undolevels' Set to a low value, or to -1 to disable undo completely. This
496 helps for a change that affects all lines. 496 helps for a change that affects all lines.
497 - 'undoreload' Set to zero to disable. 497 - 'undoreload' Set to zero to disable.
498 498
499 *E339* 499 *E339*
500 Pattern too long ~ 500 Pattern too long ~
501 501
502 This happens on systems with 16 bit ints: The compiled regexp pattern is 502 This happens on systems with 16 bit ints: The compiled regexp pattern is
503 longer than about 65000 characters. Try using a shorter pattern. 503 longer than about 65000 characters. Try using a shorter pattern.
504 It also happens when the offset of a rule doesn't fit in the space available. 504 It also happens when the offset of a rule doesn't fit in the space available.
505 Try simplifying the pattern. 505 Try simplifying the pattern.
506 506
507 *E45* 507 *E45*
508 'readonly' option is set (add ! to override) ~ 508 'readonly' option is set (add ! to override) ~
509 509
510 You are trying to write a file that was marked as read-only. To write the 510 You are trying to write a file that was marked as read-only. To write the
511 file anyway, either reset the 'readonly' option, or add a '!' character just 511 file anyway, either reset the 'readonly' option, or add a '!' character just
512 after the command you used. Example: > 512 after the command you used. Example: >
513 :w 513 :w
514 changes to: > 514 changes to: >
515 :w! 515 :w!
516 < 516 <
517 *E294* *E295* *E301* 517 *E294* *E295* *E301*
518 Read error in swap file ~ 518 Read error in swap file ~
519 Seek error in swap file read ~ 519 Seek error in swap file read ~
520 Oops, lost the swap file!!! ~ 520 Oops, lost the swap file!!! ~
521 521
522 Vim tried to read text from the |swap-file|, but something went wrong. The 522 Vim tried to read text from the |swap-file|, but something went wrong. The
523 text in the related buffer may now be corrupted! Check carefully before you 523 text in the related buffer may now be corrupted! Check carefully before you
524 write a buffer. You may want to write it in another file and check for 524 write a buffer. You may want to write it in another file and check for
525 differences. 525 differences.
526 526
527 *E192* 527 *E192*
528 Recursive use of :normal too deep ~ 528 Recursive use of :normal too deep ~
529 529
530 You are using a ":normal" command, whose argument again uses a ":normal" 530 You are using a ":normal" command, whose argument again uses a ":normal"
531 command in a recursive way. This is restricted to 'maxmapdepth' levels. This 531 command in a recursive way. This is restricted to 'maxmapdepth' levels. This
532 example illustrates how to get this message: > 532 example illustrates how to get this message: >
533 :map gq :normal gq<CR> 533 :map gq :normal gq<CR>
534 If you type "gq", it will execute this mapping, which will call "gq" again. 534 If you type "gq", it will execute this mapping, which will call "gq" again.
535 535
536 *E22* 536 *E22*
537 Scripts nested too deep ~ 537 Scripts nested too deep ~
538 538
539 Scripts can be read with the "-s" command-line argument and with the 539 Scripts can be read with the "-s" command-line argument and with the
540 `:source!` command. The script can then again read another script. This can 540 `:source!` command. The script can then again read another script. This can
541 continue for about 14 levels. When more nesting is done, Vim assumes that 541 continue for about 14 levels. When more nesting is done, Vim assumes that
542 there is a recursive loop and stops with this error message. 542 there is a recursive loop and stops with this error message.
543 543
544 *E319* 544 *E319*
545 Sorry, the command is not available in this version ~ 545 Sorry, the command is not available in this version ~
546 546
547 You have used a command that is not present in the version of Vim you are 547 You have used a command that is not present in the version of Vim you are
548 using. When compiling Vim, many different features can be enabled or 548 using. When compiling Vim, many different features can be enabled or
549 disabled. This depends on how big Vim has chosen to be and the operating 549 disabled. This depends on how big Vim has chosen to be and the operating
550 system. See |+feature-list| for when which feature is available. The 550 system. See |+feature-list| for when which feature is available. The
551 |:version| command shows which feature Vim was compiled with. 551 |:version| command shows which feature Vim was compiled with.
552 552
553 *E300* 553 *E300*
554 Swap file already exists (symlink attack?) ~ 554 Swap file already exists (symlink attack?) ~
555 555
556 This message appears when Vim is trying to open a swap file and finds it 556 This message appears when Vim is trying to open a swap file and finds it
557 already exists or finds a symbolic link in its place. This shouldn't happen, 557 already exists or finds a symbolic link in its place. This shouldn't happen,
558 because Vim already checked that the file doesn't exist. Either someone else 558 because Vim already checked that the file doesn't exist. Either someone else
559 opened the same file at exactly the same moment (very unlikely) or someone is 559 opened the same file at exactly the same moment (very unlikely) or someone is
560 attempting a symlink attack (could happen when editing a file in /tmp or when 560 attempting a symlink attack (could happen when editing a file in /tmp or when
561 'directory' starts with "/tmp", which is a bad choice). 561 'directory' starts with "/tmp", which is a bad choice).
562 562
563 *E432* 563 *E432*
564 Tags file not sorted: {file name} ~ 564 Tags file not sorted: {file name} ~
565 565
566 Vim (and Vi) expect tags files to be sorted in ASCII order. Binary searching 566 Vim (and Vi) expect tags files to be sorted in ASCII order. Binary searching
567 can then be used, which is a lot faster than a linear search. If your tags 567 can then be used, which is a lot faster than a linear search. If your tags
568 files are not properly sorted, reset the |'tagbsearch'| option. 568 files are not properly sorted, reset the |'tagbsearch'| option.
569 This message is only given when Vim detects a problem when searching for a 569 This message is only given when Vim detects a problem when searching for a
570 tag. Sometimes this message is not given, even though the tags file is not 570 tag. Sometimes this message is not given, even though the tags file is not
571 properly sorted. 571 properly sorted.
572 572
573 *E424* 573 *E424*
574 Too many different highlighting attributes in use ~ 574 Too many different highlighting attributes in use ~
575 575
576 Vim can only handle about 223 different kinds of highlighting. If you run 576 Vim can only handle about 223 different kinds of highlighting. If you run
577 into this limit, you have used too many |:highlight| commands with different 577 into this limit, you have used too many |:highlight| commands with different
578 arguments. A ":highlight link" is not counted. 578 arguments. A ":highlight link" is not counted.
579 579
580 *E77* 580 *E77*
581 Too many file names ~ 581 Too many file names ~
582 582
583 When expanding file names, more than one match was found. Only one match is 583 When expanding file names, more than one match was found. Only one match is
584 allowed for the command that was used. 584 allowed for the command that was used.
585 585
586 *E303* 586 *E303*
587 Unable to open swap file for "{filename}", recovery impossible ~ 587 Unable to open swap file for "{filename}", recovery impossible ~
588 588
589 Vim was not able to create a swap file. You can still edit the file, but if 589 Vim was not able to create a swap file. You can still edit the file, but if
590 Vim unexpectedly exits the changes will be lost. And Vim may consume a lot of 590 Vim unexpectedly exits the changes will be lost. And Vim may consume a lot of
591 memory when editing a big file. You may want to change the 'directory' option 591 memory when editing a big file. You may want to change the 'directory' option
592 to avoid this error. This error is not given when 'directory' is empty. See 592 to avoid this error. This error is not given when 'directory' is empty. See
593 |swap-file|. 593 |swap-file|.
594 594
595 *E140* 595 *E140*
596 Use ! to write partial buffer ~ 596 Use ! to write partial buffer ~
597 597
598 When using a range to write part of a buffer, it is unusual to overwrite the 598 When using a range to write part of a buffer, it is unusual to overwrite the
599 original file. It is probably a mistake (e.g., when Visual mode was active 599 original file. It is probably a mistake (e.g., when Visual mode was active
600 when using ":w"), therefore Vim requires using a ! after the command, e.g.: 600 when using ":w"), therefore Vim requires using a ! after the command, e.g.:
607 Messages like this appear when starting up. This is not a Vim problem, your 607 Messages like this appear when starting up. This is not a Vim problem, your
608 X11 configuration is wrong. You can find a hint on how to solve this here: 608 X11 configuration is wrong. You can find a hint on how to solve this here:
609 http://groups.yahoo.com/group/solarisonintel/message/12179. 609 http://groups.yahoo.com/group/solarisonintel/message/12179.
610 [this URL is no longer valid] 610 [this URL is no longer valid]
611 611
612 *W10* 612 *W10*
613 Warning: Changing a readonly file ~ 613 Warning: Changing a readonly file ~
614 614
615 The file is read-only and you are making a change to it anyway. You can use 615 The file is read-only and you are making a change to it anyway. You can use
616 the |FileChangedRO| autocommand event to avoid this message (the autocommand 616 the |FileChangedRO| autocommand event to avoid this message (the autocommand
617 must reset the 'readonly' option). See 'modifiable' to completely disallow 617 must reset the 'readonly' option). See 'modifiable' to completely disallow
618 making changes to a file. 618 making changes to a file.
619 This message is only given for the first change after 'readonly' has been set. 619 This message is only given for the first change after 'readonly' has been set.
620 620
621 *W13* 621 *W13*
622 Warning: File "{filename}" has been created after editing started ~ 622 Warning: File "{filename}" has been created after editing started ~
623 623
624 You are editing a file in Vim when it didn't exist, but it does exist now. 624 You are editing a file in Vim when it didn't exist, but it does exist now.
625 You will have to decide if you want to keep the version in Vim or the newly 625 You will have to decide if you want to keep the version in Vim or the newly
626 created file. This message is not given when 'buftype' is not empty. 626 created file. This message is not given when 'buftype' is not empty.
627 627
628 *W11* 628 *W11*
629 Warning: File "{filename}" has changed since editing started ~ 629 Warning: File "{filename}" has changed since editing started ~
630 630
631 The file which you have started editing has got another timestamp and the 631 The file which you have started editing has got another timestamp and the
632 contents changed (more precisely: When reading the file again with the current 632 contents changed (more precisely: When reading the file again with the current
633 option settings and autocommands you would end up with different text). This 633 option settings and autocommands you would end up with different text). This
647 write the file twice and set the clock back. 647 write the file twice and set the clock back.
648 648
649 If you get W11 all the time, you may need to disable "Acronis Active 649 If you get W11 all the time, you may need to disable "Acronis Active
650 Protection" or register Vim as a trusted service/application. 650 Protection" or register Vim as a trusted service/application.
651 651
652 *W12* 652 *W12*
653 Warning: File "{filename}" has changed and the buffer was changed in Vim as well ~ 653 Warning: File "{filename}" has changed and the buffer was changed in Vim as well ~
654 654
655 Like the above, and the buffer for the file was changed in this Vim as well. 655 Like the above, and the buffer for the file was changed in this Vim as well.
656 You will have to decide if you want to keep the version in this Vim or the one 656 You will have to decide if you want to keep the version in this Vim or the one
657 on disk. This message is not given when 'buftype' is not empty. 657 on disk. This message is not given when 'buftype' is not empty.
658 658
659 *W16* 659 *W16*
660 Warning: Mode of file "{filename}" has changed since editing started ~ 660 Warning: Mode of file "{filename}" has changed since editing started ~
661 661
662 When the timestamp for a buffer was changed and the contents are still the 662 When the timestamp for a buffer was changed and the contents are still the
663 same but the mode (permissions) have changed. This usually occurs when 663 same but the mode (permissions) have changed. This usually occurs when
664 checking out a file from a version control system, which causes the read-only 664 checking out a file from a version control system, which causes the read-only
665 bit to be reset. It should be safe to reload the file. Set 'autoread' to 665 bit to be reset. It should be safe to reload the file. Set 'autoread' to
666 automatically reload the file. 666 automatically reload the file.
667 667
668 *E211* 668 *E211*
669 File "{filename}" no longer available ~ 669 File "{filename}" no longer available ~
670 670
671 The file which you have started editing has disappeared, or is no longer 671 The file which you have started editing has disappeared, or is no longer
672 accessible. Make sure you write the buffer somewhere to avoid losing 672 accessible. Make sure you write the buffer somewhere to avoid losing
673 changes. This message is not given when 'buftype' is not empty. 673 changes. This message is not given when 'buftype' is not empty.
674 674
675 *W14* 675 *W14*
676 Warning: List of file names overflow ~ 676 Warning: List of file names overflow ~
677 677
678 You must be using an awful lot of buffers. It's now possible that two buffers 678 You must be using an awful lot of buffers. It's now possible that two buffers
679 have the same number, which causes various problems. You might want to exit 679 have the same number, which causes various problems. You might want to exit
680 Vim and restart it. 680 Vim and restart it.
681 681
682 *E931* 682 *E931*
683 Buffer cannot be registered ~ 683 Buffer cannot be registered ~
684 684
685 Out of memory or a duplicate buffer number. May happen after W14. Looking up 685 Out of memory or a duplicate buffer number. May happen after W14. Looking up
686 a buffer will not always work, better restart Vim. 686 a buffer will not always work, better restart Vim.
687 687
688 *E296* *E297* 688 *E296* *E297*
689 Seek error in swap file write ~ 689 Seek error in swap file write ~
690 Write error in swap file ~ 690 Write error in swap file ~
691 691
692 This mostly happens when the disk is full. Vim could not write text into the 692 This mostly happens when the disk is full. Vim could not write text into the
693 |swap-file|. It's not directly harmful, but when Vim unexpectedly exits some 693 |swap-file|. It's not directly harmful, but when Vim unexpectedly exits some
694 text may be lost without recovery being possible. Vim might run out of memory 694 text may be lost without recovery being possible. Vim might run out of memory
695 when this problem persists. 695 when this problem persists.
696 696
697 *connection-refused* 697 *connection-refused*
698 Xlib: connection to "<machine-name:0.0" refused by server ~ 698 Xlib: connection to "<machine-name:0.0" refused by server ~
699 699
700 This happens when Vim tries to connect to the X server, but the X server does 700 This happens when Vim tries to connect to the X server, but the X server does
701 not allow a connection. The connection to the X server is needed to be able 701 not allow a connection. The connection to the X server is needed to be able
702 to restore the title and for the xterm clipboard support. Unfortunately this 702 to restore the title and for the xterm clipboard support. Unfortunately this
703 error message cannot be avoided, except by disabling the |+xterm_clipboard| 703 error message cannot be avoided, except by disabling the |+xterm_clipboard|
704 and |+X11| features. 704 and |+X11| features.
705 705
706 *E10* 706 *E10*
707 \\ should be followed by /, ? or & ~ 707 \\ should be followed by /, ? or & ~
708 708
709 A command line started with a backslash or the range of a command contained a 709 A command line started with a backslash or the range of a command contained a
710 backslash in a wrong place. This is often caused by command-line continuation 710 backslash in a wrong place. This is often caused by command-line continuation
711 being disabled. Remove the 'C' flag from the 'cpoptions' option to enable it. 711 being disabled. Remove the 'C' flag from the 'cpoptions' option to enable it.
712 Or use ":set nocp". 712 Or use ":set nocp".
713 713
714 *E471* 714 *E471*
715 Argument required ~ 715 Argument required ~
716 716
717 This happens when an Ex command with mandatory argument(s) was executed, but 717 This happens when an Ex command with mandatory argument(s) was executed, but
718 no argument has been specified. 718 no argument has been specified.
719 719
720 *E474* *E475* *E983* 720 *E474* *E475* *E983*
721 Invalid argument ~ 721 Invalid argument ~
722 Invalid argument: {arg} ~ 722 Invalid argument: {arg} ~
723 Duplicate argument: {arg} ~ 723 Duplicate argument: {arg} ~
724 724
725 An Ex command or function has been executed, but an invalid argument has been 725 An Ex command or function has been executed, but an invalid argument has been
726 specified. 726 specified.
727 727
728 *E488* 728 *E488*
729 Trailing characters ~ 729 Trailing characters ~
730 Trailing characters: {text} ~ 730 Trailing characters: {text} ~
731 731
732 An argument has been added to an Ex command that does not permit one. 732 An argument has been added to an Ex command that does not permit one.
733 Or the argument has invalid characters and has not been recognized. 733 Or the argument has invalid characters and has not been recognized.
734 734
735 *E477* *E478* 735 *E477* *E478*
736 No ! allowed ~ 736 No ! allowed ~
737 Don't panic! ~ 737 Don't panic! ~
738 738
739 You have added a "!" after an Ex command that doesn't permit one. 739 You have added a "!" after an Ex command that doesn't permit one.
740 740
741 *E481* 741 *E481*
742 No range allowed ~ 742 No range allowed ~
743 743
744 A range was specified for an Ex command that doesn't permit one. See 744 A range was specified for an Ex command that doesn't permit one. See
745 |cmdline-ranges|. 745 |cmdline-ranges|.
746 746
747 *E482* *E483* 747 *E482* *E483*
748 Can't create file {filename} ~ 748 Can't create file {filename} ~
749 Can't get temp file name ~ 749 Can't get temp file name ~
750 750
751 Vim cannot create a temporary file. 751 Vim cannot create a temporary file.
752 752
753 *E484* *E485* 753 *E484* *E485*
754 Can't open file {filename} ~ 754 Can't open file {filename} ~
755 Can't read file {filename} ~ 755 Can't read file {filename} ~
756 756
757 Vim cannot read a temporary file. Especially on Windows, this can be caused 757 Vim cannot read a temporary file. Especially on Windows, this can be caused
758 by wrong escaping of special characters for cmd.exe; the approach was 758 by wrong escaping of special characters for cmd.exe; the approach was
759 changed with patch 7.3.443. Try using |shellescape()| for all shell arguments 759 changed with patch 7.3.443. Try using |shellescape()| for all shell arguments
760 given to |system()|, or explicitly add escaping with ^. Also see 760 given to |system()|, or explicitly add escaping with ^. Also see
761 'shellxquote' and 'shellxescape'. 761 'shellxquote' and 'shellxescape'.
762 762
763 *E464* 763 *E464*
764 Ambiguous use of user-defined command ~ 764 Ambiguous use of user-defined command ~
765 765
766 There are two user-defined commands with a common name prefix, and you used 766 There are two user-defined commands with a common name prefix, and you used
767 Command-line completion to execute one of them. |user-cmd-ambiguous| 767 Command-line completion to execute one of them. |user-cmd-ambiguous|
768 Example: > 768 Example: >
769 :command MyCommand1 echo "one" 769 :command MyCommand1 echo "one"
770 :command MyCommand2 echo "two" 770 :command MyCommand2 echo "two"
771 :MyCommand 771 :MyCommand
772 < 772 <
773 *E492* 773 *E492*
774 Not an editor command ~ 774 Not an editor command ~
775 775
776 You tried to execute a command that is neither an Ex command nor 776 You tried to execute a command that is neither an Ex command nor
777 a user-defined command. 777 a user-defined command.
778 778
779 *E943* 779 *E943*
780 Command table needs to be updated, run 'make cmdidxs' ~ 780 Command table needs to be updated, run 'make cmdidxs' ~
781 781
782 This can only happen when changing the source code, when adding a command in 782 This can only happen when changing the source code, when adding a command in
783 src/ex_cmds.h. The lookup table then needs to be updated, by running: > 783 src/ex_cmds.h. The lookup table then needs to be updated, by running: >
784 make cmdidxs 784 make cmdidxs
785 < 785 <
786 *E928* *E889* 786 *E928* *E889*
787 E928: String required ~ 787 E928: String required ~
788 E889: Number required ~ 788 E889: Number required ~
789 789
790 These happen when a value or expression is used that does not have the 790 These happen when a value or expression is used that does not have the
791 expected type. 791 expected type.
840 840
841 Also see 'mouse'. The hit-enter message is highlighted with the |hl-Question| 841 Also see 'mouse'. The hit-enter message is highlighted with the |hl-Question|
842 group. 842 group.
843 843
844 844
845 *more-prompt* *pager* 845 *more-prompt* *pager*
846 -- More -- ~ 846 -- More -- ~
847 -- More -- SPACE/d/j: screen/page/line down, b/u/k: up, q: quit ~ 847 -- More -- SPACE/d/j: screen/page/line down, b/u/k: up, q: quit ~
848 848
849 This message is given when the screen is filled with messages. It is only 849 This message is given when the screen is filled with messages. It is only
850 given when the 'more' option is on. It is highlighted with the |hl-MoreMsg| 850 given when the 'more' option is on. It is highlighted with the |hl-MoreMsg|