message.txt 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890
  1. *message.txt* For Vim version 9.0. Last change: 2022 Oct 18
  2. VIM REFERENCE MANUAL by Bram Moolenaar
  3. This file contains an alphabetical list of messages and error messages that
  4. Vim produces. You can use this if you don't understand what the message
  5. means. It is not complete though.
  6. 1. Old messages |:messages|
  7. 2. Error messages |error-messages|
  8. 3. Messages |messages|
  9. ==============================================================================
  10. 1. Old messages *:messages* *:mes* *message-history*
  11. The ":messages" command can be used to view previously given messages. This
  12. is especially useful when messages have been overwritten or truncated. This
  13. depends on the 'shortmess' option.
  14. :mes[sages] Show all messages.
  15. :{count}mes[sages] Show the {count} most recent messages.
  16. :mes[sages] clear Clear all messages.
  17. :{count}mes[sages] clear
  18. Clear messages, keeping only the {count} most
  19. recent ones.
  20. The number of remembered messages is fixed at 200.
  21. *g<*
  22. The "g<" command can be used to see the last page of previous command output.
  23. This is especially useful if you accidentally typed <Space> at the hit-enter
  24. prompt. You are then back at the hit-enter prompt and can then scroll further
  25. back.
  26. Note: If the output has been stopped with "q" at the more prompt, it will only
  27. be displayed up to this point.
  28. The previous command output is cleared when another command produces output.
  29. The "g<" output is not redirected.
  30. If you are using translated messages, the first printed line tells who
  31. maintains the messages or the translations. You can use this to contact the
  32. maintainer when you spot a mistake.
  33. If you want to find help on a specific (error) message, use the ID at the
  34. start of the message. For example, to get help on the message:
  35. E72: Close error on swap file ~
  36. or (translated):
  37. E72: Errore durante chiusura swap file ~
  38. Use: >
  39. :help E72
  40. If you are lazy, it also works without the shift key: >
  41. :help e72
  42. The number in this ID has no meaning.
  43. ==============================================================================
  44. 2. Error messages *error-messages* *errors*
  45. When an error message is displayed, but it is removed before you could read
  46. it, you can see it again with: >
  47. :echo errmsg
  48. Or view a list of recent messages with: >
  49. :messages
  50. See `:messages` above.
  51. LIST OF MESSAGES
  52. *E222* *E228* *E232* *E293* *E298* *E304* *E317*
  53. *E318* *E356* *E438* *E439* *E440* *E316* *E320* *E322*
  54. *E323* *E341* *E473* *E570* *E685* *E292*
  55. Add to read buffer ~
  56. makemap: Illegal mode ~
  57. Cannot create BalloonEval with both message and callback ~
  58. block was not locked ~
  59. Didn't get block nr {N}? ~
  60. ml_upd_block0(): Didn't get block 0?? ~
  61. pointer block id wrong {N} ~
  62. Updated too many blocks? ~
  63. get_varp ERROR ~
  64. u_undo: line numbers wrong ~
  65. undo list corrupt ~
  66. undo line missing ~
  67. ml_get: cannot find line {N} in buffer {nr} {name} ~
  68. line number out of range: {N} past the end ~
  69. line count wrong in block {N} ~
  70. Internal error: lalloc(0, ) ~
  71. Internal error: {function} ~
  72. Internal error in regexp ~
  73. fatal error in cs_manage_matches ~
  74. Invalid count for del_bytes(): {N} ~
  75. This is an internal error. If you can reproduce it, please send in a bug
  76. report. |bugs|
  77. ATTENTION ~
  78. Found a swap file by the name ... ~
  79. See |ATTENTION|.
  80. *E92*
  81. Buffer {N} not found ~
  82. The buffer you requested does not exist. This can also happen when you have
  83. wiped out a buffer which contains a mark or is referenced in another way.
  84. |:bwipeout|
  85. *E95*
  86. Buffer with this name already exists ~
  87. You cannot have two buffers with exactly the same name. This includes the
  88. path leading to the file.
  89. *E72*
  90. Close error on swap file ~
  91. The |swap-file|, that is used to keep a copy of the edited text, could not be
  92. closed properly. Mostly harmless.
  93. *E169*
  94. Command too recursive ~
  95. This happens when an Ex command executes an Ex command that executes an Ex
  96. command, etc. The limit is 200 or the value of 'maxfuncdepth', whatever is
  97. larger. When it's more there probably is an endless loop. Probably a
  98. |:execute| or |:source| command is involved.
  99. *E254*
  100. Cannot allocate color {name} ~
  101. The color name {name} is unknown. See |gui-colors| for a list of colors that
  102. are available on most systems.
  103. *E1244*
  104. Bad color string: {str} ~
  105. The provided color did not conform to the pattern #rrggbb
  106. *E458*
  107. Cannot allocate colormap entry, some colors may be incorrect ~
  108. This means that there are not enough colors available for Vim. It will still
  109. run, but some of the colors will not appear in the specified color. Try
  110. stopping other applications that use many colors, or start them after starting
  111. gvim.
  112. Browsers are known to consume a lot of colors. You can avoid this with
  113. netscape by telling it to use its own colormap:
  114. netscape -install ~
  115. Or tell it to limit to a certain number of colors (64 should work well):
  116. netscape -ncols 64 ~
  117. This can also be done with a line in your Xdefaults file:
  118. Netscape*installColormap: Yes ~
  119. or
  120. Netscape*maxImageColors: 64 ~
  121. *E79*
  122. Cannot expand wildcards ~
  123. A filename contains a strange combination of characters, which causes Vim to
  124. attempt expanding wildcards but this fails. This does NOT mean that no
  125. matching file names could be found, but that the pattern was illegal.
  126. *E459*
  127. Cannot go back to previous directory ~
  128. While expanding a file name, Vim failed to go back to the previously used
  129. directory. All file names being used may be invalid now! You need to have
  130. execute permission on the current directory.
  131. *E190* *E212*
  132. Cannot open "{filename}" for writing ~
  133. Can't open file for writing ~
  134. For some reason the file you are writing to cannot be created or overwritten.
  135. The reason could be that you do not have permission to write in the directory
  136. or the file name is not valid.
  137. *E166*
  138. Can't open linked file for writing ~
  139. You are trying to write to a file which can't be overwritten, and the file is
  140. a link (either a hard link or a symbolic link). Writing might still be
  141. possible if the directory that contains the link or the file is writable, but
  142. Vim now doesn't know if you want to delete the link and write the file in its
  143. place, or if you want to delete the file itself and write the new file in its
  144. place. If you really want to write the file under this name, you have to
  145. manually delete the link or the file, or change the permissions so that Vim
  146. can overwrite.
  147. *E46*
  148. Cannot change read-only variable "{name}" ~
  149. You are trying to assign a value to an argument of a function |a:var| or a Vim
  150. internal variable |v:var| which is read-only.
  151. *E90*
  152. Cannot unload last buffer ~
  153. Vim always requires one buffer to be loaded, otherwise there would be nothing
  154. to display in the window.
  155. *E40*
  156. Can't open errorfile <filename> ~
  157. When using the ":make" or ":grep" commands: The file used to save the error
  158. messages or grep output cannot be opened. This can have several causes:
  159. - 'shellredir' has a wrong value.
  160. - The shell changes directory, causing the error file to be written in another
  161. directory. This could be fixed by changing 'makeef', but then the make
  162. command is still executed in the wrong directory.
  163. - 'makeef' has a wrong value.
  164. - The 'grepprg' or 'makeprg' could not be executed. This cannot always be
  165. detected (especially on MS-Windows). Check your $PATH.
  166. Can't open file C:\TEMP\VIoD243.TMP ~
  167. On MS-Windows, this message appears when the output of an external command was
  168. to be read, but the command didn't run successfully. This can be caused by
  169. many things. Check the 'shell', 'shellquote', 'shellxquote', 'shellslash' and
  170. related options. It might also be that the external command was not found,
  171. there is no different error message for that.
  172. *E12*
  173. Command not allowed from exrc/vimrc in current dir or tag search ~
  174. Some commands are not allowed for security reasons. These commands mostly
  175. come from a .exrc or .vimrc file in the current directory, or from a tags
  176. file. Also see 'secure'.
  177. *E74*
  178. Command too complex ~
  179. A mapping resulted in a very long command string. Could be caused by a
  180. mapping that indirectly calls itself.
  181. CONVERSION ERROR ~
  182. When writing a file and the text "CONVERSION ERROR" appears, this means that
  183. some bits were lost when converting text from the internally used UTF-8 to the
  184. format of the file. The file will not be marked unmodified. If you care
  185. about the loss of information, set the 'fileencoding' option to another value
  186. that can handle the characters in the buffer and write again. If you don't
  187. care, you can abandon the buffer or reset the 'modified' option.
  188. If there is a backup file, when 'writebackup' or 'backup' is set, it will not
  189. be deleted, so you can move it back into place if you want to discard the
  190. changes.
  191. *E302*
  192. Could not rename swap file ~
  193. When the file name changes, Vim tries to rename the |swap-file| as well.
  194. This failed and the old swap file is now still used. Mostly harmless.
  195. *E43* *E44*
  196. Damaged match string ~
  197. Corrupted regexp program ~
  198. Something inside Vim went wrong and resulted in a corrupted regexp. If you
  199. know how to reproduce this problem, please report it. |bugs|
  200. *E208* *E209* *E210*
  201. Error writing to "{filename}" ~
  202. Error closing "{filename}" ~
  203. Error reading "{filename}" ~
  204. This occurs when Vim is trying to rename a file, but a simple change of file
  205. name doesn't work. Then the file will be copied, but somehow this failed.
  206. The result may be that both the original file and the destination file exist
  207. and the destination file may be incomplete.
  208. Vim: Error reading input, exiting... ~
  209. This occurs when Vim cannot read typed characters while input is required.
  210. Vim got stuck, the only thing it can do is exit. This can happen when both
  211. stdin and stderr are redirected and executing a script that doesn't exit Vim.
  212. *E47*
  213. Error while reading errorfile ~
  214. Reading the error file was not possible. This is NOT caused by an error
  215. message that was not recognized.
  216. *E80*
  217. Error while writing ~
  218. Writing a file was not completed successfully. The file is probably
  219. incomplete.
  220. *E13* *E189*
  221. File exists (add ! to override) ~
  222. "{filename}" exists (add ! to override) ~
  223. You are protected from accidentally overwriting a file. When you want to
  224. write anyway, use the same command, but add a "!" just after the command.
  225. Example: >
  226. :w /tmp/test
  227. changes to: >
  228. :w! /tmp/test
  229. <
  230. *E768*
  231. Swap file exists: {filename} (:silent! overrides) ~
  232. You are protected from overwriting a file that is being edited by Vim. This
  233. happens when you use ":w! filename" and a swapfile is found.
  234. - If the swapfile was left over from an old crashed edit session you may want
  235. to delete the swapfile. Edit {filename} to find out information about the
  236. swapfile.
  237. - If you want to write anyway prepend ":silent!" to the command. For example: >
  238. :silent! w! /tmp/test
  239. < The special command is needed, since you already added the ! for overwriting
  240. an existing file.
  241. *E139*
  242. File is loaded in another buffer ~
  243. You are trying to write a file under a name which is also used in another
  244. buffer. This would result in two versions of the same file.
  245. *E142*
  246. File not written: Writing is disabled by 'write' option ~
  247. The 'write' option is off. This makes all commands that try to write a file
  248. generate this message. This could be caused by a |-m| commandline argument.
  249. You can switch the 'write' option on with ":set write".
  250. *E25*
  251. GUI cannot be used: Not enabled at compile time ~
  252. You are running a version of Vim that doesn't include the GUI code. Therefore
  253. "gvim" and ":gui" don't work.
  254. *E49*
  255. Invalid scroll size ~
  256. This is caused by setting an invalid value for the 'scroll', 'scrolljump' or
  257. 'scrolloff' options.
  258. *E17*
  259. "{filename}" is a directory ~
  260. You tried to write a file with the name of a directory. This is not possible.
  261. You probably need to append a file name.
  262. *E19*
  263. Mark has invalid line number ~
  264. You are using a mark that has a line number that doesn't exist. This can
  265. happen when you have a mark in another file, and some other program has
  266. deleted lines from it.
  267. *E219* *E220*
  268. Missing {. ~
  269. Missing }. ~
  270. Using a {} construct in a file name, but there is a { without a matching } or
  271. the other way around. It should be used like this: {foo,bar}. This matches
  272. "foo" and "bar".
  273. *E315*
  274. ml_get: invalid lnum: {number} ~
  275. This is an internal Vim error. Please try to find out how it can be
  276. reproduced, and submit a bug report |bugreport.vim|.
  277. *E173*
  278. {number} more files to edit ~
  279. You are trying to exit, while the last item in the argument list has not been
  280. edited. This protects you from accidentally exiting when you still have more
  281. files to work on. See |argument-list|. If you do want to exit, just do it
  282. again and it will work.
  283. *E23* *E194*
  284. No alternate file ~
  285. No alternate file name to substitute for '#' ~
  286. The alternate file is not defined yet. See |alternate-file|.
  287. *E32*
  288. No file name ~
  289. The current buffer has no name. To write it, use ":w fname". Or give the
  290. buffer a name with ":file fname".
  291. *E141*
  292. No file name for buffer {number} ~
  293. One of the buffers that was changed does not have a file name. Therefore it
  294. cannot be written. You need to give the buffer a file name: >
  295. :buffer {number}
  296. :file {filename}
  297. <
  298. *E33*
  299. No previous substitute regular expression ~
  300. When using the '~' character in a pattern, it is replaced with the previously
  301. used pattern in a ":substitute" command. This fails when no such command has
  302. been used yet. See |/~|. This also happens when using ":s/pat/%/", where the
  303. "%" stands for the previous substitute string.
  304. *E35*
  305. No previous regular expression ~
  306. When using an empty search pattern, the previous search pattern is used. But
  307. that is not possible if there was no previous search.
  308. *E24*
  309. No such abbreviation ~
  310. You have used an ":unabbreviate" command with an argument which is not an
  311. existing abbreviation. All variations of this command give the same message:
  312. ":cunabbrev", ":iunabbrev", etc. Check for trailing white space.
  313. /dev/dsp: No such file or directory ~
  314. Only given for GTK GUI with Gnome support. Gnome tries to use the audio
  315. device and it isn't present. You can ignore this error.
  316. *E31*
  317. No such mapping ~
  318. You have used an ":unmap" command with an argument which is not an existing
  319. mapping. All variations of this command give the same message: ":cunmap",
  320. ":unmap!", etc. A few hints:
  321. - Check for trailing white space.
  322. - If the mapping is buffer-local you need to use ":unmap <buffer>".
  323. |:map-<buffer>|
  324. *E37* *E89*
  325. No write since last change (add ! to override) ~
  326. No write since last change for buffer {N} (add ! to override) ~
  327. You are trying to |abandon| a file that has changes. Vim protects you from
  328. losing your work. You can either write the changed file with ":w", or, if you
  329. are sure, |abandon| it anyway, and lose all the changes. This can be done by
  330. adding a '!' character just after the command you used. Example: >
  331. :e other_file
  332. changes to: >
  333. :e! other_file
  334. <
  335. *E162*
  336. No write since last change for buffer "{name}" ~
  337. This appears when you try to exit Vim while some buffers are changed. You
  338. will either have to write the changed buffer (with |:w|), or use a command to
  339. abandon the buffer forcefully, e.g., with ":qa!". Careful, make sure you
  340. don't throw away changes you really want to keep. You might have forgotten
  341. about a buffer, especially when 'hidden' is set.
  342. [No write since last change] ~
  343. This appears when executing a shell command while at least one buffer was
  344. changed. To avoid the message reset the 'warn' option.
  345. *E38*
  346. Null argument ~
  347. Something inside Vim went wrong and resulted in a NULL pointer. If you know
  348. how to reproduce this problem, please report it. |bugs|
  349. *E41* *E82* *E83* *E342*
  350. Out of memory! ~
  351. Out of memory! (allocating {number} bytes) ~
  352. Cannot allocate any buffer, exiting... ~
  353. Cannot allocate buffer, using other one... ~
  354. Oh, oh. You must have been doing something complicated, or some other program
  355. is consuming your memory. Be careful! Vim is not completely prepared for an
  356. out-of-memory situation. First make sure that any changes are saved. Then
  357. try to solve the memory shortage. To stay on the safe side, exit Vim and
  358. start again.
  359. If this happens while Vim is still initializing, editing files is very
  360. unlikely to work, therefore Vim will exit with value 123.
  361. Buffers are only partly kept in memory, thus editing a very large file is
  362. unlikely to cause an out-of-memory situation. Undo information is completely
  363. in memory, you can reduce that with these options:
  364. - 'undolevels' Set to a low value, or to -1 to disable undo completely. This
  365. helps for a change that affects all lines.
  366. - 'undoreload' Set to zero to disable.
  367. *E339*
  368. Pattern too long ~
  369. This happens on systems with 16 bit ints: The compiled regexp pattern is
  370. longer than about 65000 characters. Try using a shorter pattern.
  371. It also happens when the offset of a rule doesn't fit in the space available.
  372. Try simplifying the pattern.
  373. *E45*
  374. 'readonly' option is set (add ! to override) ~
  375. You are trying to write a file that was marked as read-only. To write the
  376. file anyway, either reset the 'readonly' option, or add a '!' character just
  377. after the command you used. Example: >
  378. :w
  379. changes to: >
  380. :w!
  381. <
  382. *E294* *E295* *E301*
  383. Read error in swap file ~
  384. Seek error in swap file read ~
  385. Oops, lost the swap file!!! ~
  386. Vim tried to read text from the |swap-file|, but something went wrong. The
  387. text in the related buffer may now be corrupted! Check carefully before you
  388. write a buffer. You may want to write it in another file and check for
  389. differences.
  390. *E192*
  391. Recursive use of :normal too deep ~
  392. You are using a ":normal" command, whose argument again uses a ":normal"
  393. command in a recursive way. This is restricted to 'maxmapdepth' levels. This
  394. example illustrates how to get this message: >
  395. :map gq :normal gq<CR>
  396. If you type "gq", it will execute this mapping, which will call "gq" again.
  397. *E22*
  398. Scripts nested too deep ~
  399. Scripts can be read with the "-s" command-line argument and with the
  400. `:source!` command. The script can then again read another script. This can
  401. continue for about 14 levels. When more nesting is done, Vim assumes that
  402. there is a recursive loop and stops with this error message.
  403. *E319*
  404. Sorry, the command is not available in this version ~
  405. You have used a command that is not present in the version of Vim you are
  406. using. When compiling Vim, many different features can be enabled or
  407. disabled. This depends on how big Vim has chosen to be and the operating
  408. system. See |+feature-list| for when which feature is available. The
  409. |:version| command shows which feature Vim was compiled with.
  410. *E300*
  411. Swap file already exists (symlink attack?) ~
  412. This message appears when Vim is trying to open a swap file and finds it
  413. already exists or finds a symbolic link in its place. This shouldn't happen,
  414. because Vim already checked that the file doesn't exist. Either someone else
  415. opened the same file at exactly the same moment (very unlikely) or someone is
  416. attempting a symlink attack (could happen when editing a file in /tmp or when
  417. 'directory' starts with "/tmp", which is a bad choice).
  418. *E432*
  419. Tags file not sorted: {file name} ~
  420. Vim (and Vi) expect tags files to be sorted in ASCII order. Binary searching
  421. can then be used, which is a lot faster than a linear search. If your tags
  422. files are not properly sorted, reset the |'tagbsearch'| option.
  423. This message is only given when Vim detects a problem when searching for a
  424. tag. Sometimes this message is not given, even though the tags file is not
  425. properly sorted.
  426. *E424*
  427. Too many different highlighting attributes in use ~
  428. Vim can only handle about 223 different kinds of highlighting. If you run
  429. into this limit, you have used too many |:highlight| commands with different
  430. arguments. A ":highlight link" is not counted.
  431. *E77*
  432. Too many file names ~
  433. When expanding file names, more than one match was found. Only one match is
  434. allowed for the command that was used.
  435. *E303*
  436. Unable to open swap file for "{filename}", recovery impossible ~
  437. Vim was not able to create a swap file. You can still edit the file, but if
  438. Vim unexpectedly exits the changes will be lost. And Vim may consume a lot of
  439. memory when editing a big file. You may want to change the 'directory' option
  440. to avoid this error. This error is not given when 'directory' is empty. See
  441. |swap-file|.
  442. *E140*
  443. Use ! to write partial buffer ~
  444. When using a range to write part of a buffer, it is unusual to overwrite the
  445. original file. It is probably a mistake (e.g., when Visual mode was active
  446. when using ":w"), therefore Vim requires using a ! after the command, e.g.:
  447. ":3,10w!".
  448. Warning: Cannot convert string "<Key>Escape,_Key_Cancel" to type ~
  449. VirtualBinding ~
  450. Messages like this appear when starting up. This is not a Vim problem, your
  451. X11 configuration is wrong. You can find a hint on how to solve this here:
  452. http://groups.yahoo.com/group/solarisonintel/message/12179.
  453. [this URL is no longer valid]
  454. *W10*
  455. Warning: Changing a readonly file ~
  456. The file is read-only and you are making a change to it anyway. You can use
  457. the |FileChangedRO| autocommand event to avoid this message (the autocommand
  458. must reset the 'readonly' option). See 'modifiable' to completely disallow
  459. making changes to a file.
  460. This message is only given for the first change after 'readonly' has been set.
  461. *W13*
  462. Warning: File "{filename}" has been created after editing started ~
  463. You are editing a file in Vim when it didn't exist, but it does exist now.
  464. You will have to decide if you want to keep the version in Vim or the newly
  465. created file. This message is not given when 'buftype' is not empty.
  466. *W11*
  467. Warning: File "{filename}" has changed since editing started ~
  468. The file which you have started editing has got another timestamp and the
  469. contents changed (more precisely: When reading the file again with the current
  470. option settings and autocommands you would end up with different text). This
  471. probably means that some other program changed the file. You will have to
  472. find out what happened, and decide which version of the file you want to keep.
  473. Set the 'autoread' option if you want to do this automatically.
  474. This message is not given when 'buftype' is not empty.
  475. Also see the |FileChangedShell| autocommand.
  476. There is one situation where you get this message even though there is nothing
  477. wrong: If you save a file in Windows on the day the daylight saving time
  478. starts. It can be fixed in one of these ways:
  479. - Add this line in your autoexec.bat: >
  480. SET TZ=-1
  481. < Adjust the "-1" for your time zone.
  482. - Disable "automatically adjust clock for daylight saving changes".
  483. - Just write the file again the next day. Or set your clock to the next day,
  484. write the file twice and set the clock back.
  485. If you get W11 all the time, you may need to disable "Acronis Active
  486. Protection" or register Vim as a trusted service/application.
  487. *W12*
  488. Warning: File "{filename}" has changed and the buffer was changed in Vim as well ~
  489. Like the above, and the buffer for the file was changed in this Vim as well.
  490. You will have to decide if you want to keep the version in this Vim or the one
  491. on disk. This message is not given when 'buftype' is not empty.
  492. *W16*
  493. Warning: Mode of file "{filename}" has changed since editing started ~
  494. When the timestamp for a buffer was changed and the contents are still the
  495. same but the mode (permissions) have changed. This usually occurs when
  496. checking out a file from a version control system, which causes the read-only
  497. bit to be reset. It should be safe to reload the file. Set 'autoread' to
  498. automatically reload the file.
  499. *E211*
  500. File "{filename}" no longer available ~
  501. The file which you have started editing has disappeared, or is no longer
  502. accessible. Make sure you write the buffer somewhere to avoid losing
  503. changes. This message is not given when 'buftype' is not empty.
  504. *W14*
  505. Warning: List of file names overflow ~
  506. You must be using an awful lot of buffers. It's now possible that two buffers
  507. have the same number, which causes various problems. You might want to exit
  508. Vim and restart it.
  509. *E931*
  510. Buffer cannot be registered ~
  511. Out of memory or a duplicate buffer number. May happen after W14. Looking up
  512. a buffer will not always work, better restart Vim.
  513. *E296* *E297*
  514. Seek error in swap file write ~
  515. Write error in swap file ~
  516. This mostly happens when the disk is full. Vim could not write text into the
  517. |swap-file|. It's not directly harmful, but when Vim unexpectedly exits some
  518. text may be lost without recovery being possible. Vim might run out of memory
  519. when this problem persists.
  520. *connection-refused*
  521. Xlib: connection to "<machine-name:0.0" refused by server ~
  522. This happens when Vim tries to connect to the X server, but the X server does
  523. not allow a connection. The connection to the X server is needed to be able
  524. to restore the title and for the xterm clipboard support. Unfortunately this
  525. error message cannot be avoided, except by disabling the |+xterm_clipboard|
  526. and |+X11| features.
  527. *E10*
  528. \\ should be followed by /, ? or & ~
  529. A command line started with a backslash or the range of a command contained a
  530. backslash in a wrong place. This is often caused by command-line continuation
  531. being disabled. Remove the 'C' flag from the 'cpoptions' option to enable it.
  532. Or use ":set nocp".
  533. *E471*
  534. Argument required ~
  535. This happens when an Ex command with mandatory argument(s) was executed, but
  536. no argument has been specified.
  537. *E474* *E475* *E983*
  538. Invalid argument ~
  539. Invalid argument: {arg} ~
  540. Duplicate argument: {arg} ~
  541. An Ex command or function has been executed, but an invalid argument has been
  542. specified.
  543. *E488*
  544. Trailing characters ~
  545. Trailing characters: {text} ~
  546. An argument has been added to an Ex command that does not permit one.
  547. Or the argument has invalid characters and has not been recognized.
  548. *E477* *E478*
  549. No ! allowed ~
  550. Don't panic! ~
  551. You have added a "!" after an Ex command that doesn't permit one.
  552. *E481*
  553. No range allowed ~
  554. A range was specified for an Ex command that doesn't permit one. See
  555. |cmdline-ranges|.
  556. *E482* *E483*
  557. Can't create file {filename} ~
  558. Can't get temp file name ~
  559. Vim cannot create a temporary file.
  560. *E484* *E485*
  561. Can't open file {filename} ~
  562. Can't read file {filename} ~
  563. Vim cannot read a temporary file. Especially on Windows, this can be caused
  564. by wrong escaping of special characters for cmd.exe; the approach was
  565. changed with patch 7.3.443. Try using |shellescape()| for all shell arguments
  566. given to |system()|, or explicitly add escaping with ^. Also see
  567. 'shellxquote' and 'shellxescape'.
  568. *E464*
  569. Ambiguous use of user-defined command ~
  570. There are two user-defined commands with a common name prefix, and you used
  571. Command-line completion to execute one of them. |user-cmd-ambiguous|
  572. Example: >
  573. :command MyCommand1 echo "one"
  574. :command MyCommand2 echo "two"
  575. :MyCommand
  576. <
  577. *E492*
  578. Not an editor command ~
  579. You tried to execute a command that is neither an Ex command nor
  580. a user-defined command.
  581. *E943*
  582. Command table needs to be updated, run 'make cmdidxs' ~
  583. This can only happen when changing the source code, when adding a command in
  584. src/ex_cmds.h. The lookup table then needs to be updated, by running: >
  585. make cmdidxs
  586. <
  587. *E928* *E889*
  588. E928: String required ~
  589. E889: Number required ~
  590. These happen when a value or expression is used that does not have the
  591. expected type.
  592. ==============================================================================
  593. 3. Messages *messages*
  594. This is an (incomplete) overview of various messages that Vim gives:
  595. *hit-enter* *press-enter* *hit-return*
  596. *press-return* *hit-enter-prompt*
  597. Press ENTER or type command to continue ~
  598. This message is given when there is something on the screen for you to read,
  599. and the screen is about to be redrawn:
  600. - After executing an external command (e.g., ":!ls" and "=").
  601. - Something is displayed on the status line that is longer than the width of
  602. the window, or runs into the 'showcmd' or 'ruler' output.
  603. -> Press <Enter> or <Space> to redraw the screen and continue, without that
  604. key being used otherwise.
  605. -> Press ':' or any other Normal mode command character to start that command.
  606. Note that after an external command some special keys, such as the cursor
  607. keys, may not work normally, because the terminal is still set to a state
  608. for executing the external command.
  609. -> Press 'k', <Up>, 'u', 'b' or 'g' to scroll back in the messages. This
  610. works the same way as at the |more-prompt|. Only works when 'compatible'
  611. is off and 'more' is on.
  612. -> Pressing 'j', 'f', 'd' or <Down> is ignored when messages scrolled off the
  613. top of the screen, 'compatible' is off and 'more' is on, to avoid that
  614. typing one 'j' or 'f' too many causes the messages to disappear.
  615. -> Press <C-Y> to copy (yank) a modeless selection to the clipboard register.
  616. -> Use a menu. The characters defined for Cmdline-mode are used.
  617. -> When 'mouse' contains the 'r' flag, clicking the left mouse button works
  618. like pressing <Space>. This makes it impossible to select text though.
  619. -> For the GUI clicking the left mouse button in the last line works like
  620. pressing <Space>.
  621. If you accidentally hit <Enter> or <Space> and you want to see the displayed
  622. text then use |g<|. This only works when 'more' is set.
  623. To reduce the number of hit-enter prompts:
  624. - Set 'cmdheight' to 2 or higher.
  625. - Add flags to 'shortmess'.
  626. - Reset 'showcmd' and/or 'ruler'.
  627. - Make sure `:echo` text is shorter than or equal to |v:echospace| screen
  628. cells.
  629. If your script causes the hit-enter prompt and you don't know why, you may
  630. find the |v:scrollstart| variable useful.
  631. Also see 'mouse'. The hit-enter message is highlighted with the |hl-Question|
  632. group.
  633. *more-prompt* *pager*
  634. -- More -- ~
  635. -- More -- SPACE/d/j: screen/page/line down, b/u/k: up, q: quit ~
  636. This message is given when the screen is filled with messages. It is only
  637. given when the 'more' option is on. It is highlighted with the |hl-MoreMsg|
  638. group.
  639. Type effect ~
  640. <CR> or <NL> or j or <Down> one more line
  641. d down a page (half a screen)
  642. <Space> or f or <PageDown> down a screen
  643. G down all the way, until the hit-enter
  644. prompt
  645. <BS> or k or <Up> one line back
  646. u up a page (half a screen)
  647. b or <PageUp> back a screen
  648. g back to the start
  649. q, <Esc> or CTRL-C stop the listing
  650. : stop the listing and enter a
  651. command-line
  652. <C-Y> yank (copy) a modeless selection to
  653. the clipboard ("* and "+ registers)
  654. {menu-entry} what the menu is defined to in
  655. Cmdline-mode.
  656. <LeftMouse> next page (*)
  657. Any other key causes the meaning of the keys to be displayed.
  658. (*) Clicking the left mouse button only works:
  659. - For the GUI: in the last line of the screen.
  660. - When 'r' is included in 'mouse' (but then selecting text won't work).
  661. Note: The typed key is directly obtained from the terminal, it is not mapped
  662. and typeahead is ignored.
  663. The |g<| command can be used to see the last page of previous command output.
  664. This is especially useful if you accidentally typed <Space> at the hit-enter
  665. prompt.
  666. vim:tw=78:ts=8:noet:ft=help:norl: