message.txt 29 KB

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