annotate runtime/doc/message.txt @ 22992:116448e826f8

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