代码拉取完成,页面将自动刷新
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>message - Vim Documentation</title>
<meta name="Generator" content="Vim/8.0">
<meta name="plugin-version" content="vim8.0">
<meta name="syntax" content="help">
<meta name="settings" content="no_pre,use_css,expand_tabs">
<link rel="stylesheet" href="style.css" type="text/css" />
<script src="jquery.min.js" type="text/javascript"></script>
<script src="mark-current-page.js" type="text/javascript"></script>
</head>
<body>
<header>
<div class="header">
<a href="http://vim-jp.org/">vim-jp</a>
/ <a href="http://vim-jp.org/vimdoc-en/">vimdoc-en</a>
/ message<br />
<a name="top"></a><h1>message - Vim Documentation</h1>
<a href="index.html">Return to main</a>
<span class="EnglishJapaneseLink">
<span class="CurrentLanguage">English</span>
</span>
</div>
</header>
<nav>
<dl>
<dt>BASIC</dt>
<dd><ul>
<li><a href="quickref.html">quickref</a></li>
<li><a href="sponsor.html">sponsor</a></li>
</ul></dd>
<dt>USER MANUAL</dt>
<dd><ul>
<li><a href="usr_toc.html">usr_toc</a></li>
</ul></dd>
<dt>Getting Started</dt>
<dd><ul>
<li><a href="usr_01.html">usr_01</a></li>
<li><a href="usr_02.html">usr_02</a></li>
<li><a href="usr_03.html">usr_03</a></li>
<li><a href="usr_04.html">usr_04</a></li>
<li><a href="usr_05.html">usr_05</a></li>
<li><a href="usr_06.html">usr_06</a></li>
<li><a href="usr_07.html">usr_07</a></li>
<li><a href="usr_08.html">usr_08</a></li>
<li><a href="usr_09.html">usr_09</a></li>
<li><a href="usr_10.html">usr_10</a></li>
<li><a href="usr_11.html">usr_11</a></li>
<li><a href="usr_12.html">usr_12</a></li>
</ul></dd>
<dt>Editing Effectively</dt>
<dd><ul>
<li><a href="usr_20.html">usr_20</a></li>
<li><a href="usr_21.html">usr_21</a></li>
<li><a href="usr_22.html">usr_22</a></li>
<li><a href="usr_23.html">usr_23</a></li>
<li><a href="usr_24.html">usr_24</a></li>
<li><a href="usr_25.html">usr_25</a></li>
<li><a href="usr_26.html">usr_26</a></li>
<li><a href="usr_27.html">usr_27</a></li>
<li><a href="usr_28.html">usr_28</a></li>
<li><a href="usr_29.html">usr_29</a></li>
<li><a href="usr_30.html">usr_30</a></li>
<li><a href="usr_31.html">usr_31</a></li>
<li><a href="usr_32.html">usr_32</a></li>
</ul></dd>
<dt>Tuning Vim</dt>
<dd><ul>
<li><a href="usr_40.html">usr_40</a></li>
<li><a href="usr_41.html">usr_41</a></li>
<li><a href="usr_42.html">usr_42</a></li>
<li><a href="usr_43.html">usr_43</a></li>
<li><a href="usr_44.html">usr_44</a></li>
<li><a href="usr_45.html">usr_45</a></li>
</ul></dd>
<dt>Making Vim Run</dt>
<dd><ul>
<li><a href="usr_90.html">usr_90</a></li>
</ul></dd>
<dt>General subjects</dt>
<dd><ul>
<li><a href="intro.html">intro</a></li>
<li><a href="index.html">help</a></li>
<li><a href="helphelp.html">helphelp</a></li>
<li><a href="vimindex.html">index</a></li>
<li><a href="tags.html">tags</a></li>
<li><a href="howto.html">howto</a></li>
<li><a href="tips.html">tips</a></li>
<li><a href="message.html">message</a></li>
<li><a href="quotes.html">quotes</a></li>
<li><a href="todo.html">todo</a></li>
<li><a href="debug.html">debug</a></li>
<li><a href="develop.html">develop</a></li>
<li><a href="uganda.html">uganda</a></li>
</ul></dd>
<dt>Basic editing</dt>
<dd><ul>
<li><a href="starting.html">starting</a></li>
<li><a href="editing.html">editing</a></li>
<li><a href="motion.html">motion</a></li>
<li><a href="scroll.html">scroll</a></li>
<li><a href="insert.html">insert</a></li>
<li><a href="change.html">change</a></li>
<li><a href="indent.html">indent</a></li>
<li><a href="undo.html">undo</a></li>
<li><a href="repeat.html">repeat</a></li>
<li><a href="visual.html">visual</a></li>
<li><a href="various.html">various</a></li>
<li><a href="recover.html">recover</a></li>
</ul></dd>
<dt>Advanced editing</dt>
<dd><ul>
<li><a href="cmdline.html">cmdline</a></li>
<li><a href="options.html">options</a></li>
<li><a href="pattern.html">pattern</a></li>
<li><a href="map.html">map</a></li>
<li><a href="tagsrch.html">tagsrch</a></li>
<li><a href="quickfix.html">quickfix</a></li>
<li><a href="windows.html">windows</a></li>
<li><a href="tabpage.html">tabpage</a></li>
<li><a href="syntax.html">syntax</a></li>
<li><a href="spell.html">spell</a></li>
<li><a href="diff.html">diff</a></li>
<li><a href="autocmd.html">autocmd</a></li>
<li><a href="filetype.html">filetype</a></li>
<li><a href="eval.html">eval</a></li>
<li><a href="channel.html">channel</a></li>
<li><a href="fold.html">fold</a></li>
</ul></dd>
<dt>Special issues</dt>
<dd><ul>
<li><a href="print.html">print</a></li>
<li><a href="remote.html">remote</a></li>
<li><a href="term.html">term</a></li>
<li><a href="digraph.html">digraph</a></li>
<li><a href="mbyte.html">mbyte</a></li>
<li><a href="mlang.html">mlang</a></li>
<li><a href="arabic.html">arabic</a></li>
<li><a href="farsi.html">farsi</a></li>
<li><a href="hebrew.html">hebrew</a></li>
<li><a href="russian.html">russian</a></li>
<li><a href="ft_ada.html">ft_ada</a></li>
<li><a href="ft_sql.html">ft_sql</a></li>
<li><a href="hangulin.html">hangulin</a></li>
<li><a href="rileft.html">rileft</a></li>
</ul></dd>
<dt>GUI</dt>
<dd><ul>
<li><a href="gui.html">gui</a></li>
<li><a href="gui_w32.html">gui_w32</a></li>
<li><a href="gui_x11.html">gui_x11</a></li>
</ul></dd>
<dt>Interfaces</dt>
<dd><ul>
<li><a href="if_cscop.html">if_cscop</a></li>
<li><a href="if_lua.html">if_lua</a></li>
<li><a href="if_mzsch.html">if_mzsch</a></li>
<li><a href="if_perl.html">if_perl</a></li>
<li><a href="if_pyth.html">if_pyth</a></li>
<li><a href="if_tcl.html">if_tcl</a></li>
<li><a href="if_ole.html">if_ole</a></li>
<li><a href="if_ruby.html">if_ruby</a></li>
<li><a href="debugger.html">debugger</a></li>
<li><a href="workshop.html">workshop</a></li>
<li><a href="netbeans.html">netbeans</a></li>
<li><a href="sign.html">sign</a></li>
</ul></dd>
<dt>Versions</dt>
<dd><ul>
<li><a href="vi_diff.html">vi_diff</a></li>
<li><a href="version4.html">version4</a></li>
<li><a href="version5.html">version5</a></li>
<li><a href="version6.html">version6</a></li>
<li><a href="version7.html">version7</a></li>
<li><a href="version8.html">version8</a></li>
</ul></dd>
<dt>Remarks about specific systems</dt>
<dd><ul>
<li><a href="os_390.html">os_390</a></li>
<li><a href="os_amiga.html">os_amiga</a></li>
<li><a href="os_beos.html">os_beos</a></li>
<li><a href="os_dos.html">os_dos</a></li>
<li><a href="os_mac.html">os_mac</a></li>
<li><a href="os_mint.html">os_mint</a></li>
<li><a href="os_msdos.html">os_msdos</a></li>
<li><a href="os_os2.html">os_os2</a></li>
<li><a href="os_qnx.html">os_qnx</a></li>
<li><a href="os_risc.html">os_risc</a></li>
<li><a href="os_unix.html">os_unix</a></li>
<li><a href="os_vms.html">os_vms</a></li>
<li><a href="os_win32.html">os_win32</a></li>
</ul></dd>
<dt>Standard plugins</dt>
<dd><ul>
<li><a href="pi_getscript.html">pi_getscript</a></li>
<li><a href="pi_gzip.html">pi_gzip</a></li>
<li><a href="pi_logipat.html">pi_logipat</a></li>
<li><a href="pi_netrw.html">pi_netrw</a></li>
<li><a href="pi_paren.html">pi_paren</a></li>
<li><a href="pi_tar.html">pi_tar</a></li>
<li><a href="pi_vimball.html">pi_vimball</a></li>
<li><a href="pi_zip.html">pi_zip</a></li>
</ul></dd>
<dt>Filetype plugins</dt>
<dd><ul>
<li><a href="pi_spec.html">pi_spec</a></li>
</ul></dd>
<dt>Others</dt>
<dd><ul>
<li><a href="vim_faq.html">vim_faq</a></li>
</ul></dd>
</dl>
</nav>
<article class="Vimdoc VimdocJa">
<div id='vimCodeElement'>
<a class="Constant" href="message.html" name="message.txt">message.txt</a> For <span class="Identifier">Vim version 8.0.</span> Last change: 2017 Mar 25<br>
<br>
<br>
<span class="Identifier">VIM REFERENCE MANUAL by Bram Moolenaar</span><br>
<br>
<br>
This file contains an alphabetical list of messages and error messages that<br>
Vim produces. You can use this if you don't understand what the message<br>
means. It is not complete though.<br>
<br>
1. Old messages <a class="Identifier" href="message.html#:messages">:messages</a><br>
2. Error messages <a class="Identifier" href="message.html#error-messages">error-messages</a><br>
3. Messages <a class="Identifier" href="message.html#messages">messages</a><br>
<br>
<span class="PreProc">==============================================================================</span><br>
1. Old messages <a class="Constant" href="message.html#:messages" name=":messages">:messages</a> <a class="Constant" href="message.html#:mes" name=":mes">:mes</a> <a class="Constant" href="message.html#message-history" name="message-history">message-history</a><br>
<br>
The ":messages" command can be used to view previously given messages. This<br>
is especially useful when messages have been overwritten or truncated. This<br>
depends on the <a class="Type" href="options.html#'shortmess'">'shortmess'</a> option.<br>
<br>
:messages Show all messages.<br>
<br>
:<span class="Special">{count}</span>messages Show the <span class="Special">{count}</span> most recent messages.<br>
<br>
:messages clear Clear all messages.<br>
<br>
:<span class="Special">{count}</span>messages clear Clear messages, keeping only the <span class="Special">{count}</span> most<br>
recent ones.<br>
<br>
The number of remembered messages is fixed at 20 for the tiny version and 200<br>
for other versions.<br>
<br>
<a class="Constant" href="message.html#g<" name="g<">g<</a><br>
The "g<" command can be used to see the last page of previous command output.<br>
This is especially useful if you accidentally typed <span class="Special"><Space></span> at the hit-enter<br>
prompt. You are then back at the hit-enter prompt and can then scroll further<br>
back.<br>
<span class="Todo">Note</span>: If the output has been stopped with "q" at the more prompt, it will only<br>
be displayed up to this point.<br>
The previous command output is cleared when another command produces output.<br>
The "g<" output is not redirected.<br>
<br>
If you are using translated messages, the first printed line tells who<br>
maintains the messages or the translations. You can use this to contact the<br>
maintainer when you spot a mistake.<br>
<br>
If you want to find help on a specific (error) message, use the ID at the<br>
start of the message. For example, to get help on the message:<br>
<br>
<div class="helpExample"> E72: Close error on swap file</div>
<br>
or (translated):<br>
<br>
<div class="helpExample"> E72: Errore durante chiusura swap file</div>
<br>
Use:<br>
<br>
<div class="helpExample"> :help E72</div>
<br>
If you are lazy, it also works without the shift key:<br>
<br>
<div class="helpExample"> :help e72</div>
<br>
<span class="PreProc">==============================================================================</span><br>
2. Error messages <a class="Constant" href="message.html#error-messages" name="error-messages">error-messages</a> <a class="Constant" href="message.html#errors" name="errors">errors</a><br>
<br>
When an error message is displayed, but it is removed before you could read<br>
it, you can see it again with:<br>
<div class="helpExample"> :echo errmsg</div>
Or view a list of recent messages with:<br>
<div class="helpExample"> :messages</div>
See <a class="Comment" href="message.html#:messages">:messages</a> above.<br>
<br>
<br>
LIST OF MESSAGES<br>
<a class="Constant" href="message.html#E222" name="E222">E222</a> <a class="Constant" href="message.html#E228" name="E228">E228</a> <a class="Constant" href="message.html#E232" name="E232">E232</a> <a class="Constant" href="message.html#E256" name="E256">E256</a> <a class="Constant" href="message.html#E293" name="E293">E293</a> <a class="Constant" href="message.html#E298" name="E298">E298</a> <a class="Constant" href="message.html#E304" name="E304">E304</a> <a class="Constant" href="message.html#E317" name="E317">E317</a><br>
<a class="Constant" href="message.html#E318" name="E318">E318</a> <a class="Constant" href="message.html#E356" name="E356">E356</a> <a class="Constant" href="message.html#E438" name="E438">E438</a> <a class="Constant" href="message.html#E439" name="E439">E439</a> <a class="Constant" href="message.html#E440" name="E440">E440</a> <a class="Constant" href="message.html#E316" name="E316">E316</a> <a class="Constant" href="message.html#E320" name="E320">E320</a> <a class="Constant" href="message.html#E322" name="E322">E322</a><br>
<a class="Constant" href="message.html#E323" name="E323">E323</a> <a class="Constant" href="message.html#E341" name="E341">E341</a> <a class="Constant" href="message.html#E473" name="E473">E473</a> <a class="Constant" href="message.html#E570" name="E570">E570</a> <a class="Constant" href="message.html#E685" name="E685">E685</a> <br>
<div class="helpExample"> Add to read buffer<br>
makemap: Illegal mode<br>
Cannot create BalloonEval with both message and callback<br>
Hangul automata ERROR<br>
block was not locked<br>
Didn't get block nr {N}?<br>
ml_upd_block0(): Didn't get block 0??<br>
pointer block id wrong {N}<br>
Updated too many blocks?<br>
get_varp ERROR<br>
u_undo: line numbers wrong<br>
undo list corrupt<br>
undo line missing<br>
ml_get: cannot find line {N}<br>
cannot find line {N}<br>
line number out of range: {N} past the end<br>
line count wrong in block {N}<br>
Internal error<br>
Internal error: {function}<br>
fatal error in cs_manage_matches</div>
<br>
This is an internal error. If you can reproduce it, please send in a bug<br>
report. <a class="Identifier" href="intro.html#bugs">bugs</a><br>
<br>
<br>
<div class="helpExample"> ATTENTION<br>
Found a swap file by the name ...</div>
<br>
See <a class="Identifier" href="usr_11.html#ATTENTION">ATTENTION</a>.<br>
<br>
<a class="Constant" href="message.html#E92" name="E92">E92</a> <br>
<div class="helpExample"> Buffer {N} not found</div>
<br>
The buffer you requested does not exist. This can also happen when you have<br>
wiped out a buffer which contains a mark or is referenced in another way.<br>
<a class="Identifier" href="windows.html#:bwipeout">:bwipeout</a><br>
<br>
<a class="Constant" href="message.html#E95" name="E95">E95</a> <br>
<div class="helpExample"> Buffer with this name already exists</div>
<br>
You cannot have two buffers with the same name.<br>
<br>
<a class="Constant" href="message.html#E72" name="E72">E72</a> <br>
<div class="helpExample"> Close error on swap file</div>
<br>
The <a class="Identifier" href="recover.html#swap-file">swap-file</a>, that is used to keep a copy of the edited text, could not be<br>
closed properly. Mostly harmless.<br>
<br>
<a class="Constant" href="message.html#E169" name="E169">E169</a> <br>
<div class="helpExample"> Command too recursive</div>
<br>
This happens when an Ex command executes an Ex command that executes an Ex<br>
command, etc. The limit is 200 or the value of <a class="Type" href="options.html#'maxfuncdepth'">'maxfuncdepth'</a>, whatever is<br>
larger. When it's more there probably is an endless loop. Probably a<br>
<a class="Identifier" href="eval.html#:execute">:execute</a> or <a class="Identifier" href="repeat.html#:source">:source</a> command is involved.<br>
<br>
<a class="Constant" href="message.html#E254" name="E254">E254</a> <br>
<div class="helpExample"> Cannot allocate color {name}</div>
<br>
The color name <span class="Special">{name}</span> is unknown. See <a class="Identifier" href="syntax.html#gui-colors">gui-colors</a> for a list of colors that<br>
are available on most systems.<br>
<br>
<a class="Constant" href="message.html#E458" name="E458">E458</a> <br>
<div class="helpExample"> Cannot allocate colormap entry, some colors may be incorrect</div>
<br>
This means that there are not enough colors available for Vim. It will still<br>
run, but some of the colors will not appear in the specified color. Try<br>
stopping other applications that use many colors, or start them after starting<br>
gvim.<br>
Browsers are known to consume a lot of colors. You can avoid this with<br>
netscape by telling it to use its own colormap:<br>
<div class="helpExample"> netscape -install</div>
Or tell it to limit to a certain number of colors (64 should work well):<br>
<div class="helpExample"> netscape -ncols 64</div>
This can also be done with a line in your Xdefaults file:<br>
<div class="helpExample"> Netscape*installColormap: Yes</div>
or<br>
<div class="helpExample"> Netscape*maxImageColors: 64</div>
<br>
<a class="Constant" href="message.html#E79" name="E79">E79</a> <br>
<div class="helpExample"> Cannot expand wildcards</div>
<br>
A filename contains a strange combination of characters, which causes Vim to<br>
attempt expanding wildcards but this fails. This does NOT mean that no<br>
matching file names could be found, but that the pattern was illegal.<br>
<br>
<a class="Constant" href="message.html#E459" name="E459">E459</a> <br>
<div class="helpExample"> Cannot go back to previous directory</div>
<br>
While expanding a file name, Vim failed to go back to the previously used<br>
directory. All file names being used may be invalid now! You need to have<br>
execute permission on the current directory.<br>
<br>
<a class="Constant" href="message.html#E190" name="E190">E190</a> <a class="Constant" href="message.html#E212" name="E212">E212</a> <br>
<div class="helpExample"> Cannot open "{filename}" for writing<br>
Can't open file for writing</div>
<br>
For some reason the file you are writing to cannot be created or overwritten.<br>
The reason could be that you do not have permission to write in the directory<br>
or the file name is not valid.<br>
<br>
<a class="Constant" href="message.html#E166" name="E166">E166</a> <br>
<div class="helpExample"> Can't open linked file for writing</div>
<br>
You are trying to write to a file which can't be overwritten, and the file is<br>
a link (either a hard link or a symbolic link). Writing might still be<br>
possible if the directory that contains the link or the file is writable, but<br>
Vim now doesn't know if you want to delete the link and write the file in its<br>
place, or if you want to delete the file itself and write the new file in its<br>
place. If you really want to write the file under this name, you have to<br>
manually delete the link or the file, or change the permissions so that Vim<br>
can overwrite.<br>
<br>
<a class="Constant" href="message.html#E46" name="E46">E46</a> <br>
<div class="helpExample"> Cannot change read-only variable "{name}"</div>
<br>
You are trying to assign a value to an argument of a function <a class="Identifier" href="eval.html#a:var">a:var</a> or a Vim<br>
internal variable <a class="Identifier" href="eval.html#v:var">v:var</a> which is read-only.<br>
<br>
<a class="Constant" href="message.html#E90" name="E90">E90</a> <br>
<div class="helpExample"> Cannot unload last buffer</div>
<br>
Vim always requires one buffer to be loaded, otherwise there would be nothing<br>
to display in the window.<br>
<br>
<a class="Constant" href="message.html#E40" name="E40">E40</a> <br>
<div class="helpExample"> Can't open errorfile <filename></div>
<br>
When using the ":make" or ":grep" commands: The file used to save the error<br>
messages or grep output cannot be opened. This can have several causes:<br>
- <a class="Type" href="options.html#'shellredir'">'shellredir'</a> has a wrong value.<br>
- The shell changes directory, causing the error file to be written in another<br>
directory. This could be fixed by changing <a class="Type" href="options.html#'makeef'">'makeef'</a>, but then the make<br>
command is still executed in the wrong directory.<br>
- <a class="Type" href="options.html#'makeef'">'makeef'</a> has a wrong value.<br>
- The <a class="Type" href="options.html#'grepprg'">'grepprg'</a> or <a class="Type" href="options.html#'makeprg'">'makeprg'</a> could not be executed. This cannot always be<br>
detected (especially on MS-Windows). Check your $PATH.<br>
<br>
<br>
<div class="helpExample"> Can't open file C:\TEMP\VIoD243.TMP</div>
<br>
On MS-Windows, this message appears when the output of an external command was<br>
to be read, but the command didn't run successfully. This can be caused by<br>
many things. Check the <a class="Type" href="options.html#'shell'">'shell'</a>, <a class="Type" href="options.html#'shellquote'">'shellquote'</a>, <a class="Type" href="options.html#'shellxquote'">'shellxquote'</a>, <a class="Type" href="options.html#'shellslash'">'shellslash'</a> and<br>
related options. It might also be that the external command was not found,<br>
there is no different error message for that.<br>
<br>
<a class="Constant" href="message.html#E12" name="E12">E12</a> <br>
<div class="helpExample"> Command not allowed from exrc/vimrc in current dir or tag search</div>
<br>
Some commands are not allowed for security reasons. These commands mostly<br>
come from a .exrc or .vimrc file in the current directory, or from a tags<br>
file. Also see <a class="Type" href="options.html#'secure'">'secure'</a>.<br>
<br>
<a class="Constant" href="message.html#E74" name="E74">E74</a> <br>
<div class="helpExample"> Command too complex</div>
<br>
A mapping resulted in a very long command string. Could be caused by a<br>
mapping that indirectly calls itself.<br>
<br>
<br>
<div class="helpExample"> CONVERSION ERROR</div>
<br>
When writing a file and the text "CONVERSION ERROR" appears, this means that<br>
some bits were lost when converting text from the internally used UTF-8 to the<br>
format of the file. The file will not be marked unmodified. If you care<br>
about the loss of information, set the <a class="Type" href="options.html#'fileencoding'">'fileencoding'</a> option to another value<br>
that can handle the characters in the buffer and write again. If you don't<br>
care, you can abandon the buffer or reset the <a class="Type" href="options.html#'modified'">'modified'</a> option.<br>
<br>
<a class="Constant" href="message.html#E302" name="E302">E302</a> <br>
<div class="helpExample"> Could not rename swap file</div>
<br>
When the file name changes, Vim tries to rename the <a class="Identifier" href="recover.html#swap-file">swap-file</a> as well.<br>
This failed and the old swap file is now still used. Mostly harmless.<br>
<br>
<a class="Constant" href="message.html#E43" name="E43">E43</a> <a class="Constant" href="message.html#E44" name="E44">E44</a> <br>
<div class="helpExample"> Damaged match string<br>
Corrupted regexp program</div>
<br>
Something inside Vim went wrong and resulted in a corrupted regexp. If you<br>
know how to reproduce this problem, please report it. <a class="Identifier" href="intro.html#bugs">bugs</a><br>
<br>
<a class="Constant" href="message.html#E208" name="E208">E208</a> <a class="Constant" href="message.html#E209" name="E209">E209</a> <a class="Constant" href="message.html#E210" name="E210">E210</a> <br>
<div class="helpExample"> Error writing to "{filename}"<br>
Error closing "{filename}"<br>
Error reading "{filename}"</div>
<br>
This occurs when Vim is trying to rename a file, but a simple change of file<br>
name doesn't work. Then the file will be copied, but somehow this failed.<br>
The result may be that both the original file and the destination file exist<br>
and the destination file may be incomplete.<br>
<br>
<br>
<div class="helpExample"> Vim: Error reading input, exiting...</div>
<br>
This occurs when Vim cannot read typed characters while input is required.<br>
Vim got stuck, the only thing it can do is exit. This can happen when both<br>
stdin and stderr are redirected and executing a script that doesn't exit Vim.<br>
<br>
<a class="Constant" href="message.html#E47" name="E47">E47</a> <br>
<div class="helpExample"> Error while reading errorfile</div>
<br>
Reading the error file was not possible. This is NOT caused by an error<br>
message that was not recognized.<br>
<br>
<a class="Constant" href="message.html#E80" name="E80">E80</a> <br>
<div class="helpExample"> Error while writing</div>
<br>
Writing a file was not completed successfully. The file is probably<br>
incomplete.<br>
<br>
<a class="Constant" href="message.html#E13" name="E13">E13</a> <a class="Constant" href="message.html#E189" name="E189">E189</a> <br>
<div class="helpExample"> File exists (add ! to override)<br>
"{filename}" exists (add ! to override)</div>
<br>
You are protected from accidentally overwriting a file. When you want to<br>
write anyway, use the same command, but add a "!" just after the command.<br>
Example:<br>
<div class="helpExample"> :w /tmp/test</div>
changes to:<br>
<div class="helpExample"> :w! /tmp/test</div>
<br>
<a class="Constant" href="message.html#E768" name="E768">E768</a> <br>
<div class="helpExample"> Swap file exists: {filename} (:silent! overrides)</div>
<br>
You are protected from overwriting a file that is being edited by Vim. This<br>
happens when you use ":w! filename" and a swapfile is found.<br>
- If the swapfile was left over from an old crashed edit session you may want<br>
to delete the swapfile. Edit <span class="Special">{filename}</span> to find out information about the<br>
swapfile.<br>
- If you want to write anyway prepend ":silent!" to the command. For example:<br>
<div class="helpExample"> :silent! w! /tmp/test</div>
The special command is needed, since you already added the ! for overwriting<br>
an existing file.<br>
<br>
<a class="Constant" href="message.html#E139" name="E139">E139</a> <br>
<div class="helpExample"> File is loaded in another buffer</div>
<br>
You are trying to write a file under a name which is also used in another<br>
buffer. This would result in two versions of the same file.<br>
<br>
<a class="Constant" href="message.html#E142" name="E142">E142</a> <br>
<div class="helpExample"> File not written: Writing is disabled by 'write' option</div>
<br>
The <a class="Type" href="options.html#'write'">'write'</a> option is off. This makes all commands that try to write a file<br>
generate this message. This could be caused by a <a class="Identifier" href="starting.html#-m">-m</a> commandline argument.<br>
You can switch the <a class="Type" href="options.html#'write'">'write'</a> option on with ":set write".<br>
<br>
<a class="Constant" href="message.html#E25" name="E25">E25</a> <br>
<div class="helpExample"> GUI cannot be used: Not enabled at compile time</div>
<br>
You are running a version of Vim that doesn't include the GUI code. Therefore<br>
"gvim" and ":gui" don't work.<br>
<br>
<a class="Constant" href="message.html#E49" name="E49">E49</a> <br>
<div class="helpExample"> Invalid scroll size</div>
<br>
This is caused by setting an invalid value for the <a class="Type" href="options.html#'scroll'">'scroll'</a>, <a class="Type" href="options.html#'scrolljump'">'scrolljump'</a> or<br>
<a class="Type" href="options.html#'scrolloff'">'scrolloff'</a> options.<br>
<br>
<a class="Constant" href="message.html#E17" name="E17">E17</a> <br>
<div class="helpExample"> "{filename}" is a directory</div>
<br>
You tried to write a file with the name of a directory. This is not possible.<br>
You probably need to append a file name.<br>
<br>
<a class="Constant" href="message.html#E19" name="E19">E19</a> <br>
<div class="helpExample"> Mark has invalid line number</div>
<br>
You are using a mark that has a line number that doesn't exist. This can<br>
happen when you have a mark in another file, and some other program has<br>
deleted lines from it.<br>
<br>
<a class="Constant" href="message.html#E219" name="E219">E219</a> <a class="Constant" href="message.html#E220" name="E220">E220</a> <br>
<div class="helpExample"> Missing {.<br>
Missing }.</div>
<br>
Using a {} construct in a file name, but there is a { without a matching } or<br>
the other way around. It should be used like this: <span class="Special">{foo,bar}</span>. This matches<br>
"foo" and "bar".<br>
<br>
<a class="Constant" href="message.html#E315" name="E315">E315</a> <br>
<div class="helpExample"> ml_get: invalid lnum: {number}</div>
<br>
This is an internal Vim error. Please try to find out how it can be<br>
reproduced, and submit a bug report <a class="Identifier" href="intro.html#bugreport.vim">bugreport.vim</a>.<br>
<br>
<a class="Constant" href="message.html#E173" name="E173">E173</a> <br>
<div class="helpExample"> {number} more files to edit</div>
<br>
You are trying to exit, while the last item in the argument list has not been<br>
edited. This protects you from accidentally exiting when you still have more<br>
files to work on. See <a class="Identifier" href="editing.html#argument-list">argument-list</a>. If you do want to exit, just do it<br>
again and it will work.<br>
<br>
<a class="Constant" href="message.html#E23" name="E23">E23</a> <a class="Constant" href="message.html#E194" name="E194">E194</a> <br>
<div class="helpExample"> No alternate file<br>
No alternate file name to substitute for '#'</div>
<br>
The alternate file is not defined yet. See <a class="Identifier" href="editing.html#alternate-file">alternate-file</a>.<br>
<br>
<a class="Constant" href="message.html#E32" name="E32">E32</a> <br>
<div class="helpExample"> No file name</div>
<br>
The current buffer has no name. To write it, use ":w fname". Or give the<br>
buffer a name with ":file fname".<br>
<br>
<a class="Constant" href="message.html#E141" name="E141">E141</a> <br>
<div class="helpExample"> No file name for buffer {number}</div>
<br>
One of the buffers that was changed does not have a file name. Therefore it<br>
cannot be written. You need to give the buffer a file name:<br>
<div class="helpExample"> :buffer {number}<br>
:file {filename}</div>
<br>
<a class="Constant" href="message.html#E33" name="E33">E33</a> <br>
<div class="helpExample"> No previous substitute regular expression</div>
<br>
When using the '~' character in a pattern, it is replaced with the previously<br>
used pattern in a ":substitute" command. This fails when no such command has<br>
been used yet. See <a class="Identifier" href="pattern.html#/~">/~</a>. This also happens when using ":s/pat/%/", where the<br>
"%" stands for the previous substitute string.<br>
<br>
<a class="Constant" href="message.html#E35" name="E35">E35</a> <br>
<div class="helpExample"> No previous regular expression</div>
<br>
When using an empty search pattern, the previous search pattern is used. But<br>
that is not possible if there was no previous search.<br>
<br>
<a class="Constant" href="message.html#E24" name="E24">E24</a> <br>
<div class="helpExample"> No such abbreviation</div>
<br>
You have used an ":unabbreviate" command with an argument which is not an<br>
existing abbreviation. All variations of this command give the same message:<br>
":cunabbrev", ":iunabbrev", etc. Check for trailing white space.<br>
<br>
<br>
<div class="helpExample"> /dev/dsp: No such file or directory</div>
<br>
Only given for GTK GUI with Gnome support. Gnome tries to use the audio<br>
device and it isn't present. You can ignore this error.<br>
<br>
<a class="Constant" href="message.html#E31" name="E31">E31</a> <br>
<div class="helpExample"> No such mapping</div>
<br>
You have used an ":unmap" command with an argument which is not an existing<br>
mapping. All variations of this command give the same message: ":cunmap",<br>
":unmap!", etc. A few hints:<br>
- Check for trailing white space.<br>
- If the mapping is buffer-local you need to use ":unmap <span class="Special"><buffer></span>".<br>
<a class="Identifier" href="map.html#:map-<buffer>">:map-<buffer></a><br>
<br>
<a class="Constant" href="message.html#E37" name="E37">E37</a> <a class="Constant" href="message.html#E89" name="E89">E89</a> <br>
<div class="helpExample"> No write since last change (add ! to override)<br>
No write since last change for buffer {N} (add ! to override)</div>
<br>
You are trying to <a class="Identifier" href="editing.html#abandon">abandon</a> a file that has changes. Vim protects you from<br>
losing your work. You can either write the changed file with ":w", or, if you<br>
are sure, <a class="Identifier" href="editing.html#abandon">abandon</a> it anyway, and lose all the changes. This can be done by<br>
adding a '!' character just after the command you used. Example:<br>
<div class="helpExample"> :e other_file</div>
changes to:<br>
<div class="helpExample"> :e! other_file</div>
<br>
<a class="Constant" href="message.html#E162" name="E162">E162</a> <br>
<div class="helpExample"> No write since last change for buffer "{name}"</div>
<br>
This appears when you try to exit Vim while some buffers are changed. You<br>
will either have to write the changed buffer (with <a class="Identifier" href="editing.html#:w">:w</a>), or use a command to<br>
abandon the buffer forcefully, e.g., with ":qa!". Careful, make sure you<br>
don't throw away changes you really want to keep. You might have forgotten<br>
about a buffer, especially when <a class="Type" href="options.html#'hidden'">'hidden'</a> is set.<br>
<br>
<br>
<div class="helpExample"> [No write since last change]</div>
<br>
This appears when executing a shell command while at least one buffer was<br>
changed. To avoid the message reset the <a class="Type" href="options.html#'warn'">'warn'</a> option.<br>
<br>
<a class="Constant" href="message.html#E38" name="E38">E38</a> <br>
<div class="helpExample"> Null argument</div>
<br>
Something inside Vim went wrong and resulted in a NULL pointer. If you know<br>
how to reproduce this problem, please report it. <a class="Identifier" href="intro.html#bugs">bugs</a><br>
<br>
<a class="Constant" href="message.html#E172" name="E172">E172</a> <br>
<div class="helpExample"> Only one file name allowed</div>
<br>
The ":edit" command only accepts one file name. When you want to specify<br>
several files for editing use ":next" <a class="Identifier" href="editing.html#:next">:next</a>.<br>
<br>
<a class="Constant" href="message.html#E41" name="E41">E41</a> <a class="Constant" href="message.html#E82" name="E82">E82</a> <a class="Constant" href="message.html#E83" name="E83">E83</a> <a class="Constant" href="message.html#E342" name="E342">E342</a> <br>
<div class="helpExample"> Out of memory!<br>
Out of memory! (allocating {number} bytes)<br>
Cannot allocate any buffer, exiting...<br>
Cannot allocate buffer, using other one...</div>
<br>
Oh, oh. You must have been doing something complicated, or some other program<br>
is consuming your memory. Be careful! Vim is not completely prepared for an<br>
out-of-memory situation. First make sure that any changes are saved. Then<br>
try to solve the memory shortage. To stay on the safe side, exit Vim and<br>
start again.<br>
<br>
Buffers are only partly kept in memory, thus editing a very large file is<br>
unlikely to cause an out-of-memory situation. Undo information is completely<br>
in memory, you can reduce that with these options:<br>
- <a class="Type" href="options.html#'undolevels'">'undolevels'</a> Set to a low value, or to -1 to disable undo completely. This<br>
helps for a change that affects all lines.<br>
- <a class="Type" href="options.html#'undoreload'">'undoreload'</a> Set to zero to disable.<br>
<br>
<a class="Constant" href="message.html#E339" name="E339">E339</a> <br>
<div class="helpExample"> Pattern too long</div>
<br>
This happens on systems with 16 bit ints: The compiled regexp pattern is<br>
longer than about 65000 characters. Try using a shorter pattern.<br>
It also happens when the offset of a rule doesn't fit in the space available.<br>
Try simplifying the pattern.<br>
<br>
<a class="Constant" href="message.html#E45" name="E45">E45</a> <br>
<div class="helpExample"> 'readonly' option is set (add ! to override)</div>
<br>
You are trying to write a file that was marked as read-only. To write the<br>
file anyway, either reset the <a class="Type" href="options.html#'readonly'">'readonly'</a> option, or add a '!' character just<br>
after the command you used. Example:<br>
<div class="helpExample"> :w</div>
changes to:<br>
<div class="helpExample"> :w!</div>
<br>
<a class="Constant" href="message.html#E294" name="E294">E294</a> <a class="Constant" href="message.html#E295" name="E295">E295</a> <a class="Constant" href="message.html#E301" name="E301">E301</a> <br>
<div class="helpExample"> Read error in swap file<br>
Seek error in swap file read<br>
Oops, lost the swap file!!!</div>
<br>
Vim tried to read text from the <a class="Identifier" href="recover.html#swap-file">swap-file</a>, but something went wrong. The<br>
text in the related buffer may now be corrupted! Check carefully before you<br>
write a buffer. You may want to write it in another file and check for<br>
differences.<br>
<br>
<a class="Constant" href="message.html#E192" name="E192">E192</a> <br>
<div class="helpExample"> Recursive use of :normal too deep</div>
<br>
You are using a ":normal" command, whose argument again uses a ":normal"<br>
command in a recursive way. This is restricted to <a class="Type" href="options.html#'maxmapdepth'">'maxmapdepth'</a> levels. This<br>
example illustrates how to get this message:<br>
<div class="helpExample"> :map gq :normal gq<CR></div>
If you type "gq", it will execute this mapping, which will call "gq" again.<br>
<br>
<a class="Constant" href="message.html#E22" name="E22">E22</a> <br>
<div class="helpExample"> Scripts nested too deep</div>
<br>
Scripts can be read with the "-s" command-line argument and with the ":source"<br>
command. The script can then again read another script. This can continue<br>
for about 14 levels. When more nesting is done, Vim assumes that there is a<br>
recursive loop somewhere and stops with this error message.<br>
<br>
<a class="Constant" href="message.html#E319" name="E319">E319</a> <br>
<div class="helpExample"> Sorry, the command is not available in this version</div>
<br>
You have used a command that is not present in the version of Vim you are<br>
using. When compiling Vim, many different features can be enabled or<br>
disabled. This depends on how big Vim has chosen to be and the operating<br>
system. See <a class="Identifier" href="various.html#+feature-list">+feature-list</a> for when which feature is available. The<br>
<a class="Identifier" href="various.html#:version">:version</a> command shows which feature Vim was compiled with.<br>
<br>
<a class="Constant" href="message.html#E300" name="E300">E300</a> <br>
<div class="helpExample"> Swap file already exists (symlink attack?)</div>
<br>
This message appears when Vim is trying to open a swap file and finds it<br>
already exists or finds a symbolic link in its place. This shouldn't happen,<br>
because Vim already checked that the file doesn't exist. Either someone else<br>
opened the same file at exactly the same moment (very unlikely) or someone is<br>
attempting a symlink attack (could happen when editing a file in /tmp or when<br>
<a class="Type" href="options.html#'directory'">'directory'</a> starts with "/tmp", which is a bad choice).<br>
<br>
<a class="Constant" href="message.html#E432" name="E432">E432</a> <br>
<div class="helpExample"> Tags file not sorted: {file name}</div>
<br>
Vim (and Vi) expect tags files to be sorted in ASCII order. Binary searching<br>
can then be used, which is a lot faster than a linear search. If your tags<br>
files are not properly sorted, reset the <a class="Identifier" href="options.html#'tagbsearch'">'tagbsearch'</a> option.<br>
This message is only given when Vim detects a problem when searching for a<br>
tag. Sometimes this message is not given, even though the tags file is not<br>
properly sorted.<br>
<br>
<a class="Constant" href="message.html#E460" name="E460">E460</a> <br>
<div class="helpExample"> The resource fork would be lost (add ! to override)</div>
<br>
On the Macintosh (classic), when writing a file, Vim attempts to preserve all<br>
info about a file, including its resource fork. If this is not possible you<br>
get this error message. Append "!" to the command name to write anyway (and<br>
lose the info).<br>
<br>
<a class="Constant" href="message.html#E424" name="E424">E424</a> <br>
<div class="helpExample"> Too many different highlighting attributes in use</div>
<br>
Vim can only handle about 223 different kinds of highlighting. If you run<br>
into this limit, you have used too many <a class="Identifier" href="syntax.html#:highlight">:highlight</a> commands with different<br>
arguments. A ":highlight link" is not counted.<br>
<br>
<a class="Constant" href="message.html#E77" name="E77">E77</a> <br>
<div class="helpExample"> Too many file names</div>
<br>
When expanding file names, more than one match was found. Only one match is<br>
allowed for the command that was used.<br>
<br>
<a class="Constant" href="message.html#E303" name="E303">E303</a> <br>
<div class="helpExample"> Unable to open swap file for "{filename}", recovery impossible</div>
<br>
Vim was not able to create a swap file. You can still edit the file, but if<br>
Vim unexpectedly exits the changes will be lost. And Vim may consume a lot of<br>
memory when editing a big file. You may want to change the <a class="Type" href="options.html#'directory'">'directory'</a> option<br>
to avoid this error. See <a class="Identifier" href="recover.html#swap-file">swap-file</a>.<br>
<br>
<a class="Constant" href="message.html#E140" name="E140">E140</a> <br>
<div class="helpExample"> Use ! to write partial buffer</div>
<br>
When using a range to write part of a buffer, it is unusual to overwrite the<br>
original file. It is probably a mistake (e.g., when Visual mode was active<br>
when using ":w"), therefore Vim requires using a ! after the command, e.g.:<br>
":3,10w!".<br>
<br>
<br>
<div class="helpExample"> Warning: Cannot convert string "<Key>Escape,_Key_Cancel" to type<br>
VirtualBinding</div>
<br>
Messages like this appear when starting up. This is not a Vim problem, your<br>
X11 configuration is wrong. You can find a hint on how to solve this here:<br>
<span class="Constant"><a href="http://groups.yahoo.com/group/solarisonintel/message/12179">http://groups.yahoo.com/group/solarisonintel/message/12179</a></span>.<br>
[this URL is no longer valid]<br>
<br>
<a class="Constant" href="message.html#W10" name="W10">W10</a> <br>
<div class="helpExample"> Warning: Changing a readonly file</div>
<br>
The file is read-only and you are making a change to it anyway. You can use<br>
the <a class="Identifier" href="autocmd.html#FileChangedRO">FileChangedRO</a> autocommand event to avoid this message (the autocommand<br>
must reset the <a class="Type" href="options.html#'readonly'">'readonly'</a> option). See <a class="Type" href="options.html#'modifiable'">'modifiable'</a> to completely disallow<br>
making changes to a file.<br>
This message is only given for the first change after <a class="Type" href="options.html#'readonly'">'readonly'</a> has been set.<br>
<br>
<a class="Constant" href="message.html#W13" name="W13">W13</a> <br>
<div class="helpExample"> Warning: File "{filename}" has been created after editing started</div>
<br>
You are editing a file in Vim when it didn't exist, but it does exist now.<br>
You will have to decide if you want to keep the version in Vim or the newly<br>
created file. This message is not given when <a class="Type" href="options.html#'buftype'">'buftype'</a> is not empty.<br>
<br>
<a class="Constant" href="message.html#W11" name="W11">W11</a> <br>
<div class="helpExample"> Warning: File "{filename}" has changed since editing started</div>
<br>
The file which you have started editing has got another timestamp and the<br>
contents changed (more precisely: When reading the file again with the current<br>
option settings and autocommands you would end up with different text). This<br>
probably means that some other program changed the file. You will have to<br>
find out what happened, and decide which version of the file you want to keep.<br>
Set the <a class="Type" href="options.html#'autoread'">'autoread'</a> option if you want to do this automatically.<br>
This message is not given when <a class="Type" href="options.html#'buftype'">'buftype'</a> is not empty.<br>
<br>
There is one situation where you get this message even though there is nothing<br>
wrong: If you save a file in Windows on the day the daylight saving time<br>
starts. It can be fixed in one of these ways:<br>
- Add this line in your autoexec.bat:<br>
<div class="helpExample"> SET TZ=-1</div>
Adjust the "-1" for your time zone.<br>
- Disable "automatically adjust clock for daylight saving changes".<br>
- Just write the file again the next day. Or set your clock to the next day,<br>
write the file twice and set the clock back.<br>
<br>
<a class="Constant" href="message.html#W12" name="W12">W12</a> <br>
<div class="helpExample"> Warning: File "{filename}" has changed and the buffer was changed in Vim as well</div>
<br>
Like the above, and the buffer for the file was changed in this Vim as well.<br>
You will have to decide if you want to keep the version in this Vim or the one<br>
on disk. This message is not given when <a class="Type" href="options.html#'buftype'">'buftype'</a> is not empty.<br>
<br>
<a class="Constant" href="message.html#W16" name="W16">W16</a> <br>
<div class="helpExample"> Warning: Mode of file "{filename}" has changed since editing started</div>
<br>
When the timestamp for a buffer was changed and the contents are still the<br>
same but the mode (permissions) have changed. This usually occurs when<br>
checking out a file from a version control system, which causes the read-only<br>
bit to be reset. It should be safe to reload the file. Set <a class="Type" href="options.html#'autoread'">'autoread'</a> to<br>
automatically reload the file.<br>
<br>
<a class="Constant" href="message.html#E211" name="E211">E211</a> <br>
<div class="helpExample"> File "{filename}" no longer available</div>
<br>
The file which you have started editing has disappeared, or is no longer<br>
accessible. Make sure you write the buffer somewhere to avoid losing<br>
changes. This message is not given when <a class="Type" href="options.html#'buftype'">'buftype'</a> is not empty.<br>
<br>
<a class="Constant" href="message.html#W14" name="W14">W14</a> <br>
<div class="helpExample"> Warning: List of file names overflow</div>
<br>
You must be using an awful lot of buffers. It's now possible that two buffers<br>
have the same number, which causes various problems. You might want to exit<br>
Vim and restart it.<br>
<br>
<a class="Constant" href="message.html#E931" name="E931">E931</a> <br>
<div class="helpExample"> Buffer cannot be registered</div>
<br>
Out of memory or a duplicate buffer number. May happen after W14. Looking up<br>
a buffer will not always work, better restart Vim.<br>
<br>
<a class="Constant" href="message.html#E296" name="E296">E296</a> <a class="Constant" href="message.html#E297" name="E297">E297</a> <br>
<div class="helpExample"> Seek error in swap file write<br>
Write error in swap file</div>
<br>
This mostly happens when the disk is full. Vim could not write text into the<br>
<a class="Identifier" href="recover.html#swap-file">swap-file</a>. It's not directly harmful, but when Vim unexpectedly exits some<br>
text may be lost without recovery being possible. Vim might run out of memory<br>
when this problem persists.<br>
<br>
<a class="Constant" href="message.html#connection-refused" name="connection-refused">connection-refused</a> <br>
<div class="helpExample"> Xlib: connection to "<machine-name:0.0" refused by server</div>
<br>
This happens when Vim tries to connect to the X server, but the X server does<br>
not allow a connection. The connection to the X server is needed to be able<br>
to restore the title and for the xterm clipboard support. Unfortunately this<br>
error message cannot be avoided, except by disabling the <a class="Identifier" href="various.html#+xterm_clipboard">+xterm_clipboard</a><br>
and <a class="Identifier" href="various.html#+X11">+X11</a> features.<br>
<br>
<a class="Constant" href="message.html#E10" name="E10">E10</a> <br>
<div class="helpExample"> \\ should be followed by /, ? or &</div>
<br>
A command line started with a backslash or the range of a command contained a<br>
backslash in a wrong place. This is often caused by command-line continuation<br>
being disabled. Remove the 'C' flag from the <a class="Type" href="options.html#'cpoptions'">'cpoptions'</a> option to enable it.<br>
Or use ":set nocp".<br>
<br>
<a class="Constant" href="message.html#E471" name="E471">E471</a> <br>
<div class="helpExample"> Argument required</div>
<br>
This happens when an Ex command with mandatory argument(s) was executed, but<br>
no argument has been specified.<br>
<br>
<a class="Constant" href="message.html#E474" name="E474">E474</a> <a class="Constant" href="message.html#E475" name="E475">E475</a> <br>
<div class="helpExample"> Invalid argument<br>
Invalid argument: {arg}</div>
<br>
An Ex command has been executed, but an invalid argument has been specified.<br>
<br>
<a class="Constant" href="message.html#E488" name="E488">E488</a> <br>
<div class="helpExample"> Trailing characters</div>
<br>
An argument has been added to an Ex command that does not permit one.<br>
<br>
<a class="Constant" href="message.html#E477" name="E477">E477</a> <a class="Constant" href="message.html#E478" name="E478">E478</a> <br>
<div class="helpExample"> No ! allowed<br>
Don't panic!</div>
<br>
You have added a "!" after an Ex command that doesn't permit one.<br>
<br>
<a class="Constant" href="message.html#E481" name="E481">E481</a> <br>
<div class="helpExample"> No range allowed</div>
<br>
A range was specified for an Ex command that doesn't permit one. See<br>
<a class="Identifier" href="cmdline.html#cmdline-ranges">cmdline-ranges</a>.<br>
<br>
<a class="Constant" href="message.html#E482" name="E482">E482</a> <a class="Constant" href="message.html#E483" name="E483">E483</a> <br>
<div class="helpExample"> Can't create file {filename}<br>
Can't get temp file name</div>
<br>
Vim cannot create a temporary file.<br>
<br>
<a class="Constant" href="message.html#E484" name="E484">E484</a> <a class="Constant" href="message.html#E485" name="E485">E485</a> <br>
<div class="helpExample"> Can't open file {filename}<br>
Can't read file {filename}</div>
<br>
Vim cannot read a temporary file. Especially on Windows, this can be caused<br>
by wrong escaping of special characters for cmd.exe; the approach was<br>
changed with patch 7.3.443. Try using <a class="Identifier" href="eval.html#shellescape()">shellescape()</a> for all shell arguments<br>
given to <a class="Identifier" href="eval.html#system()">system()</a>, or explicitly add escaping with ^. Also see<br>
<a class="Type" href="options.html#'shellxquote'">'shellxquote'</a> and <a class="Type" href="options.html#'shellxescape'">'shellxescape'</a>.<br>
<br>
<a class="Constant" href="message.html#E464" name="E464">E464</a> <br>
<div class="helpExample"> Ambiguous use of user-defined command</div>
<br>
There are two user-defined commands with a common name prefix, and you used<br>
Command-line completion to execute one of them. <a class="Identifier" href="map.html#user-cmd-ambiguous">user-cmd-ambiguous</a><br>
Example:<br>
<div class="helpExample"> :command MyCommand1 echo "one"<br>
:command MyCommand2 echo "two"<br>
:MyCommand</div>
<br>
<a class="Constant" href="message.html#E492" name="E492">E492</a> <br>
<div class="helpExample"> Not an editor command</div>
<br>
You tried to execute a command that is neither an Ex command nor<br>
a user-defined command.<br>
<br>
<a class="Constant" href="message.html#E943" name="E943">E943</a> <br>
<div class="helpExample"> Command table needs to be updated, run 'make cmdidxs'</div>
<br>
This can only happen when changing the source code, when adding a command in<br>
src/ex_cmds.h. The lookup table then needs to be updated, by running:<br>
<div class="helpExample"> make cmdidxs</div>
<br>
<span class="PreProc">==============================================================================</span><br>
3. Messages <a class="Constant" href="message.html#messages" name="messages">messages</a><br>
<br>
This is an (incomplete) overview of various messages that Vim gives:<br>
<br>
<a class="Constant" href="message.html#hit-enter" name="hit-enter">hit-enter</a> <a class="Constant" href="message.html#press-enter" name="press-enter">press-enter</a> <a class="Constant" href="message.html#hit-return" name="hit-return">hit-return</a><br>
<a class="Constant" href="message.html#press-return" name="press-return">press-return</a> <a class="Constant" href="message.html#hit-enter-prompt" name="hit-enter-prompt">hit-enter-prompt</a><br>
<br>
Press ENTER or type command to continue<br>
<br>
This message is given when there is something on the screen for you to read,<br>
and the screen is about to be redrawn:<br>
- After executing an external command (e.g., ":!ls" and "=").<br>
- Something is displayed on the status line that is longer than the width of<br>
the window, or runs into the <a class="Type" href="options.html#'showcmd'">'showcmd'</a> or <a class="Type" href="options.html#'ruler'">'ruler'</a> output.<br>
<br>
-> Press <span class="Special"><Enter></span> or <span class="Special"><Space></span> to redraw the screen and continue, without that<br>
key being used otherwise.<br>
-> Press ':' or any other Normal mode command character to start that command.<br>
-> Press 'k', <span class="Special"><Up></span>, 'u', 'b' or 'g' to scroll back in the messages. This<br>
works the same way as at the <a class="Identifier" href="message.html#more-prompt">more-prompt</a>. Only works when <a class="Type" href="options.html#'compatible'">'compatible'</a><br>
is off and <a class="Type" href="options.html#'more'">'more'</a> is on.<br>
-> Pressing 'j', 'f', 'd' or <span class="Special"><Down></span> is ignored when messages scrolled off the<br>
top of the screen, <a class="Type" href="options.html#'compatible'">'compatible'</a> is off and <a class="Type" href="options.html#'more'">'more'</a> is on, to avoid that<br>
typing one 'j' or 'f' too many causes the messages to disappear.<br>
-> Press <span class="Special"><C-Y></span> to copy (yank) a modeless selection to the clipboard register.<br>
-> Use a menu. The characters defined for Cmdline-mode are used.<br>
-> When <a class="Type" href="options.html#'mouse'">'mouse'</a> contains the 'r' flag, clicking the left mouse button works<br>
like pressing <span class="Special"><Space></span>. This makes it impossible to select text though.<br>
-> For the GUI clicking the left mouse button in the last line works like<br>
pressing <span class="Special"><Space></span>.<br>
<span class="Special">{Vi: only ":" commands are interpreted}</span><br>
<br>
If you accidentally hit <span class="Special"><Enter></span> or <span class="Special"><Space></span> and you want to see the displayed<br>
text then use <a class="Identifier" href="message.html#g<">g<</a>. This only works when <a class="Type" href="options.html#'more'">'more'</a> is set.<br>
<br>
To reduce the number of hit-enter prompts:<br>
- Set <a class="Type" href="options.html#'cmdheight'">'cmdheight'</a> to 2 or higher.<br>
- Add flags to <a class="Type" href="options.html#'shortmess'">'shortmess'</a>.<br>
- Reset <a class="Type" href="options.html#'showcmd'">'showcmd'</a> and/or <a class="Type" href="options.html#'ruler'">'ruler'</a>.<br>
<br>
If your script causes the hit-enter prompt and you don't know why, you may<br>
find the <a class="Identifier" href="eval.html#v:scrollstart">v:scrollstart</a> variable useful.<br>
<br>
Also see <a class="Type" href="options.html#'mouse'">'mouse'</a>. The hit-enter message is highlighted with the <a class="Identifier" href="syntax.html#hl-Question">hl-Question</a><br>
group.<br>
<br>
<br>
<a class="Constant" href="message.html#more-prompt" name="more-prompt">more-prompt</a> <a class="Constant" href="message.html#pager" name="pager">pager</a> <br>
<div class="helpExample"> -- More --<br>
-- More -- SPACE/d/j: screen/page/line down, b/u/k: up, q: quit</div>
<br>
This message is given when the screen is filled with messages. It is only<br>
given when the <a class="Type" href="options.html#'more'">'more'</a> option is on. It is highlighted with the <a class="Identifier" href="syntax.html#hl-MoreMsg">hl-MoreMsg</a><br>
group.<br>
<br>
<span class="PreProc">Type effect</span><br>
<span class="Special"><CR></span> or <span class="Special"><NL></span> or j or <span class="Special"><Down></span> one more line<br>
d down a page (half a screen)<br>
<span class="Special"><Space></span> or f or <span class="Special"><PageDown></span> down a screen<br>
G down all the way, until the hit-enter<br>
prompt<br>
<br>
<span class="Special"><BS></span> or k or <span class="Special"><Up></span> one line back (*)<br>
u up a page (half a screen) (*)<br>
b or <span class="Special"><PageUp></span> back a screen (*)<br>
g back to the start (*)<br>
<br>
q, <span class="Special"><Esc></span> or <span class="Special">CTRL-C</span> stop the listing<br>
: stop the listing and enter a<br>
command-line<br>
<span class="Special"><C-Y></span> yank (copy) a modeless selection to<br>
the clipboard ("* and "+ registers)<br>
<span class="Special">{menu-entry}</span> what the menu is defined to in<br>
Cmdline-mode.<br>
<span class="Special"><LeftMouse></span> (**) next page<br>
<br>
Any other key causes the meaning of the keys to be displayed.<br>
<br>
(*) backwards scrolling is <span class="Special">{not in Vi}</span>. Only scrolls back to where messages<br>
started to scroll.<br>
(**) Clicking the left mouse button only works:<br>
- For the GUI: in the last line of the screen.<br>
- When 'r' is included in <a class="Type" href="options.html#'mouse'">'mouse'</a> (but then selecting text won't work).<br>
<br>
<br>
<span class="Todo">Note</span>: The typed key is directly obtained from the terminal, it is not mapped<br>
and typeahead is ignored.<br>
<br>
The <a class="Identifier" href="message.html#g<">g<</a> command can be used to see the last page of previous command output.<br>
This is especially useful if you accidentally typed <span class="Special"><Space></span> at the hit-enter<br>
prompt.<br>
<br>
vim:tw=78:ts=8:ft=help:norl:<br>
</div>
</article>
<footer>
<a href="#top">Return to the top</a> - <a href="index.html">Return to main</a>
<span class="EnglishJapaneseLink">
<span class="CurrentLanguage">English</span>
</span>
<br />
<div style="text-align:right;">
Hosted by <a href="https://github.com/vim-jp/vimdoc-en">vimdoc-en project</a><br />
If you met any problem, please report it to <a href="https://github.com/vim-jp/vimdoc-en/issues">issue</a>.<br />
</div>
</footer>
<!--<script src="js/check-referrer.js" type="text/javascript"></script>-->
</body>
</html>
<!-- vim:set ts=8 sts=2 sw=2 tw=0 et: -->
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。