message.txt 30 KB

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