annotate runtime/doc/message.txt @ 18838:8dabdfc7c799 v8.1.2406

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