46
|
1 *version7.txt* For Vim version 7.0aa. Last change: 2004 Dec 31
|
7
|
2
|
|
3
|
|
4 VIM REFERENCE MANUAL by Bram Moolenaar
|
|
5
|
|
6
|
|
7 Welcome to Vim 7! A large number of features has been added. This file
|
|
8 mentions all the new items, changes to existing features and bug fixes
|
|
9 compared to Vim 6.x.
|
|
10
|
|
11 See |vi_diff.txt| for an overview of differences between Vi and Vim 7.0.
|
|
12 See |version4.txt| for differences between Vim 3.x and Vim 4.x.
|
|
13 See |version5.txt| for differences between Vim 4.x and Vim 5.x.
|
|
14 See |version6.txt| for differences between Vim 5.x and Vim 6.x.
|
|
15
|
|
16 INCOMPATIBLE CHANGES |incompatible-7|
|
|
17
|
|
18 NEW FEATURES |new-7|
|
|
19
|
|
20 New data types |new-data-types|
|
14
|
21 KDE support |new-KDE|
|
36
|
22 Translated manual pages |new-manpage-trans|
|
43
|
23 Internal grep |new-vimgrep|
|
7
|
24 Various new items |new-items-7|
|
|
25
|
|
26 IMPROVEMENTS |improvements-7|
|
|
27
|
|
28 COMPILE TIME CHANGES |compile-changes-7|
|
|
29
|
|
30 BUG FIXES |bug-fixes-7|
|
|
31
|
|
32 ==============================================================================
|
|
33 INCOMPATIBLE CHANGES *incompatible-7*
|
|
34
|
|
35 These changes are incompatible with previous releases. Check this list if you
|
|
36 run into a problem when upgrading from Vim 6.x to 7.0
|
|
37
|
10
|
38 ":helpgrep" now uses a help window to display a match.
|
|
39
|
39
|
40 In an argument list double quotes could be used to include spaces in a file
|
|
41 name. This caused a difference between ":edit" and ":next" for escaping
|
|
42 double quotes and it is incompatible with some versions of Vi.
|
|
43 Command Vim 6.x file name Vim 7.x file name ~
|
|
44 :edit foo\"888 'foo"888' 'foo"888'
|
|
45 :next foo\"888 'foo888' 'foo"888'
|
|
46 :next a\"b c\"d 'ab cd' 'a"b' and 'c"d'
|
|
47
|
|
48 A ":write file" command no longer resets the 'modified' flag of the buffer,
|
|
49 unless the '+' flag is in 'cpoptions' |cpo-+|. This was illogical, since the
|
|
50 buffer is still modified compared to the original file. And when undoing
|
|
51 all changes the file would actually be marked modified. It does mean that
|
|
52 ":quit" fails now.
|
|
53
|
10
|
54
|
|
55 Minor incompatibilities:
|
|
56
|
|
57 For filetype detection: For many types, instead of ~/.dir/filename use
|
|
58 */.dir/filename, so that it also works for other user's files.
|
|
59
|
|
60 ":0verbose" now sets 'verbose' to zero instead of one.
|
|
61
|
|
62 Removed the old and incomplete "VimBuddy" code.
|
|
63
|
|
64 Buffers without a name report "No Name" instead of "No File". It was
|
|
65 confusing for buffers with a name and 'buftype' set to "nofile".
|
7
|
66
|
29
|
67 When ":file xxx" is used in a buffer without a name, the alternate file name
|
|
68 isn't set. This avoids creating buffers without a name that are not useful.
|
|
69
|
|
70 The "2html.vim" script now converts closed folds to HTML. This means the HTML
|
|
71 looks like its displayed, with the same folds open and closed. Use "zR" if no
|
|
72 folds should appear in the HTML. (partly by Carl Osterwisch)
|
32
|
73 Diff mode now is also converted as it is displayed.
|
29
|
74
|
36
|
75 Win32: The effect of the <F10> key depended on 'winaltkeys'. Now it depends
|
|
76 on whether <F10> has been mapped or not. This allows mapping <F10> without
|
|
77 changing 'winaltkeys'.
|
|
78
|
39
|
79 When using CTRL-A on "08" it became "018", which is illogical. Now it becomes
|
|
80 "9". The leading zero(s) is(are) removed to avoid the number becoming octal
|
|
81 after incrementing "009" to "010".
|
|
82
|
|
83 When 'encoding' is set to a Unicode encoding, the value for 'fileencodings'
|
|
84 now includes "default" before "latin1". This means that for files with 8-bit
|
|
85 encodings the default is to use the encoding specified by the environment, if
|
|
86 possible. Previously latin1 would always be used, which is wrong in a
|
|
87 non-latin1 environment, such as Russian.
|
|
88
|
7
|
89 ==============================================================================
|
|
90 NEW FEATURES *new-7*
|
|
91
|
|
92 New data types *new-data-types*
|
|
93 --------------
|
|
94
|
|
95 In Vim scripts the following types have been added:
|
|
96
|
|
97 list ordered list of items
|
|
98 dictionary associative array of items
|
|
99 function reference to a function
|
|
100
|
|
101 Many functions and commands have been added to support the new types.
|
|
102
|
11
|
103 NOT IMPLEMENTED YET!
|
|
104
|
|
105
|
14
|
106 KDE support *new-KDE*
|
11
|
107 -----------
|
|
108
|
|
109 Kvim is the KDE version of Vim. It uses the Qt toolkit. See |KVim|.
|
|
110 (Thomas Capricelli, Philippe Fremy, Mickael Marchand, Mark Westcott, et al.)
|
|
111
|
7
|
112
|
14
|
113 MzScheme interface *new-MzScheme*
|
|
114 ------------------
|
|
115
|
|
116 The MzScheme interpreter is supported. |MzScheme|
|
|
117 The |:mzscheme| command can be used to execute MzScheme commands.
|
|
118 The |:mzfile| command can be used to execute an MzScheme script file.
|
|
119
|
15
|
120 Printing multi-byte text *new-print-multi-byte*
|
|
121 ------------------
|
|
122
|
|
123 The |:hardcopy| command now supports printing multi-byte characters.
|
|
124 The 'printmbcharset' and 'printmbfont' options are used for this.
|
|
125 Also see |postscript-cjk-printing|. (Mike Williams)
|
|
126
|
14
|
127
|
36
|
128 Translated manual pages *new-manpage-trans*
|
|
129 -----------------------
|
|
130
|
|
131 The manual page of Vim and associated programs is now also available in
|
|
132 Italian (translated by Antonio Colombo). More languages will follow.
|
|
133
|
40
|
134 The Unix Makefile installs the Italian manual pages in .../man/it/man1/.
|
|
135
|
36
|
136
|
43
|
137 Internal grep *new-vimgrep*
|
|
138 -------------
|
|
139
|
|
140 The ":vimgrep" command can be used to search for a pattern in a list of files.
|
|
141 This is like the ":grep" command, but no external program is used. Besides
|
|
142 better portability, handling of different file encodings and using multi-line
|
|
143 patterns, this also allows grepping in compressed and remote files.
|
|
144 |:vimgrep|.
|
|
145
|
|
146
|
7
|
147 Various new items *new-items-7*
|
|
148 -----------------
|
|
149
|
|
150 Normal mode commands: ~
|
|
151
|
12
|
152 a", a' and a` New text objects to select quoted strings. |a'|
|
|
153 i", i' and i' (Taro Muraoka)
|
7
|
154
|
|
155 Options: ~
|
|
156
|
12
|
157 'completefunc' The name of a function used for user-specified Insert
|
|
158 mode completion. CTRL-X CTRL-U can be used in Insert
|
|
159 mode to do any kind of completion. (Taro Muraoka)
|
|
160 'quoteescape' Characters used to escape quotes inside a string.
|
|
161 Used for the a", a' and a` text objects. |a'|
|
13
|
162 'numberwidth' Minimal width of the space used for the 'number'
|
|
163 option. (Emmanuel Renieris)
|
14
|
164 'mzquantum' Time in msec to schedule MzScheme threads.
|
15
|
165 'printmbcharset' CJK character set to be used for :hardcopy
|
|
166 'printmbfont' font names to be used for CJK output of :hardcopy
|
36
|
167 'fsync' Whether fsync() is called after writing a file.
|
|
168 (Ciaran McCreesh)
|
40
|
169 'wildoptions' "tagfile" value enables listing the file name of
|
|
170 matching tags for CTRL-D command line completion.
|
|
171 (based on an idea from Yegappan Lakshmanan)
|
41
|
172 'formatlistpat' pattern to recognize a numbered list for formatting.
|
|
173 (idea by Hugo Haas)
|
|
174
|
7
|
175
|
|
176 Ex commands: ~
|
|
177
|
11
|
178 Win32: The ":winpos" command now also works in the console. (Vipin Aravind)
|
|
179
|
15
|
180 |:startreplace| Start Replace mode. (Charles Campbell)
|
14
|
181
|
15
|
182 |:0file| Removes the name of the buffer. (Charles Campbell)
|
14
|
183
|
16
|
184 |:diffoff| Switch off diff mode in the current window or in all
|
|
185 windows.
|
|
186
|
22
|
187 |:keepalt| Do not change the alternate file.
|
|
188
|
24
|
189 |:delmarks| Delete marks.
|
|
190
|
29
|
191 |:sandbox| Command modifier: execute the argument in the sandbox.
|
|
192
|
40
|
193 |:exusage| Help for Ex commands (Nvi command).
|
|
194
|
|
195 |:viusage| Help for Vi commands (Nvi command).
|
|
196
|
41
|
197 |:cbuffer| Read error lines from a buffer. (partly by Yegappan
|
|
198 Lakshmanan)
|
7
|
199
|
|
200 New functions: ~
|
|
201
|
29
|
202 browsedir(title, init) |browsedir()| Dialog to select a directory.
|
19
|
203 byteidx(expr, nr) |byteidx()| Index of a character. (Ilya Sher)
|
|
204 finddir(name) |finddir()| Find a directory in 'path'.
|
|
205 findfile(name) |findfile()| Find a file in 'path'. (Johannes
|
|
206 Zellner)
|
29
|
207 foldtextresult(lnum) |foldtextresult()| The text displayed for a closed
|
|
208 fold at line "lnum".
|
20
|
209 getfperm(fname) |getfperm()| Get file permission string. (Nikolai
|
|
210 Weibull)
|
|
211 getftype(fname) |getftype()| Get type of file. (Nikolai Weibull)
|
18
|
212 repeat(expr, count) |repeat()| Repeat "expr" "count" times.
|
|
213 (Christophe Poucet)
|
|
214 tr(expr, from, to) |tr()| Translate characters. (Ron Aaron)
|
24
|
215 system(cmd, input) |system()| Filters {input} through a shell
|
|
216 command.
|
38
|
217 getfontname([name]) |getfontname()| Get actual font name being used.
|
15
|
218
|
7
|
219
|
|
220 New autocommand events: ~
|
|
221
|
15
|
222 |InsertEnter| starting Insert or Replace mode
|
|
223 |InsertChange| going from Insert to Replace mode or back
|
|
224 |InsertLeave| leaving Insert or Replace mode
|
11
|
225
|
15
|
226 |ColorScheme| after loading a color scheme
|
7
|
227
|
12
|
228
|
24
|
229 New items in search patterns: ~
|
|
230 |/\%d| \%d123 search for character with decimal number
|
|
231 |/\]| [\d123] idem, in a colletion
|
|
232 |/\%o| \%o103 search for character with octal number
|
|
233 |/\]| [\o1o3] idem, in a colletion
|
|
234 |/\%x| \%x1a search for character with 2 pos. hex number
|
|
235 |/\]| [\x1a] idem, in a colletion
|
|
236 |/\%u| \%u12ab search for character with 4 pos. hex number
|
|
237 |/\]| [\u12ab] idem, in a colletion
|
|
238 |/\%U| \%U1234abcd search for character with 8 pos. hex number
|
|
239 |/\]| [\U1234abcd] idem, in a colletion
|
|
240 (The above partly by Ciaran McCreesh)
|
|
241
|
|
242
|
12
|
243 New Syntax/Indent/FTplugin files: ~
|
|
244
|
|
245 MuPAD source syntax, indent and ftplugin. (Dave Silvia)
|
|
246
|
22
|
247 ABAB/4 syntax file. (Marius van Wyk)
|
|
248
|
|
249 SQL-Informix syntax file. (Dean L Hill)
|
|
250
|
23
|
251 PHP compiler plugin. (Doug Kearns)
|
|
252
|
36
|
253 Sive syntax file. (Nikolai Weibull)
|
|
254
|
23
|
255
|
32
|
256 New Keymaps: ~
|
|
257
|
|
258 Sinhala (Sri Lanka) (Harshula Jayasuriya)
|
|
259
|
|
260
|
23
|
261 New message translations: ~
|
|
262
|
|
263 The Ukranian messages are now also available in cp1251.
|
|
264
|
7
|
265
|
10
|
266 Others: ~
|
|
267
|
|
268 Mac: Add the selection type to the clipboard, so that Block, line and
|
|
269 character selections can be used between two Vims. (Eckehard Berns)
|
|
270 Also fixes the problem that setting 'clipboard' to "unnamed" breaks using
|
|
271 "yyp".
|
7
|
272
|
13
|
273 Mac: GUI font selector. (Peter "Rain Dog" Cucka)
|
|
274
|
46
|
275 GUI font selector for Motif. (Martin Dalecki)
|
|
276
|
|
277 Mnemonics for the Motif find/replace dialog. (Martin Dalecki)
|
|
278
|
38
|
279 Mac: better integration with Xcode. Post a fake mouse-up event after the odoc
|
|
280 event and the drag receive handler to work around a stall after Vim loads a
|
|
281 file. Fixed an off-by-one line number error. (Da Woon Jung)
|
|
282
|
11
|
283 The netrw plugin now also supports viewing a directory, when "scp://" is used.
|
|
284 Deleting and renaming files is possible. (Charles Campbell)
|
|
285
|
36
|
286 Added the t_SI and t_EI escape sequences for starting and ending Insert mode.
|
|
287 To be used to set the cursor shape to a bar or a block. No default values,
|
|
288 they are not supported by termcap/terminfo.
|
|
289
|
40
|
290 Autocommands can be defined local to a buffer. This means they will also work
|
|
291 when the buffer does not have a name or no specific name. See
|
|
292 |autocmd-buflocal|. (Yakov Lerner)
|
|
293
|
7
|
294 ==============================================================================
|
|
295 IMPROVEMENTS *improvements-7*
|
|
296
|
10
|
297 ":helpgrep" accepts a language specifier after the pattern: "pat@it".
|
|
298
|
15
|
299 Move the help for printing to a separate help file. It's quite a lot now.
|
|
300
|
10
|
301 ":breakadd here" and ":breakdel here" can be used to set or delete a
|
|
302 breakpoint at the cursor.
|
|
303
|
11
|
304 The tutor was updated to make it simpler to use and added text to explain a
|
|
305 few more important commands. Used ideas from Gabriel Zachmann.
|
7
|
306
|
12
|
307 Unix: When libcall() fails obtain an error message with dlerror() and display
|
|
308 it. (Johannes Zellner)
|
|
309
|
13
|
310 Added "nbsp" in 'listchars'. (David Blanchet)
|
|
311
|
17
|
312 Added the "acwrite" value for the 'buftype' option. This is for a buffer that
|
|
313 doesn not have a name that refers to a file and is written with BufWriteCmd
|
|
314 autocommands.
|
|
315
|
14
|
316 For lisp indenting and matching parenthesis: (Sergey Khorev)
|
|
317 - square brackets are recognized properly
|
|
318 - #\(, #\), #\[ and #\] are recognized as character literals
|
|
319 - Lisp line comments (delimited by semicolon) are recognized
|
|
320
|
19
|
321 Added the "count" argument to match(), matchend() and matchstr(). (Ilya Sher)
|
|
322
|
20
|
323 winnr() takes an optional "$" and "#" arguments. (Nikolai Weibull, Yegappan
|
|
324 Lakshmanan)
|
|
325
|
|
326 Added 'n' flag to search(): don't move the cursor. (Nikolai Weibull)
|
|
327
|
22
|
328 When uncompressing fails in the gzip plugin, give an error message but don't
|
|
329 delete the raw text. Helps if the file has a .gz extension but is not
|
|
330 actually compressed. (Andrew Pimlott)
|
|
331
|
|
332 When C, C++ or IDL syntax is used, may additionally load doxygen syntax.
|
|
333 Also support setting the filetype to "cdoxygen" for C plus doxygen syntax.
|
|
334 (Michael Geddes)
|
|
335
|
|
336 The ":registers" command now displays multi-byte characters properly.
|
|
337
|
|
338 VMS: In the usage message mention that a slash can be used to make a flag
|
|
339 upper case. Add color support to the builtin vt320 terminal codes.
|
|
340 (Zoltan Arpadffy)
|
|
341
|
23
|
342 For the '%' item in 'viminfo', allow a number to set a maximum for the number
|
|
343 of buffers.
|
|
344
|
40
|
345 The 'statusline' option can be local to the window, so that each window can
|
|
346 have a different value. (partly by Yegappan Lakshmanan)
|
|
347
|
26
|
348 When a file looks like a shell script, check for an "exec" command that starts
|
|
349 the tcl interpreter. (suggested by Alexios Zavras)
|
|
350
|
|
351 Support conversion between utf-8 and latin9 (iso-8859-15) internally, so that
|
|
352 digraphs still work when iconv is not available.
|
|
353
|
36
|
354 When a session file is loaded while editing an unnamed, empty buffer that
|
|
355 buffer is wiped out. Avoids that there is an unused buffer in the buffer
|
|
356 list.
|
|
357
|
|
358 Win32: When libintl.dll supports bind_textdomain_codeset(), use it.
|
|
359 (NAKADAIRA Yukihiro)
|
|
360
|
|
361 When foldtext() finds no text after removing the comment leader, use the
|
|
362 second line of the fold. Helps for C-style /* */ comments where the first
|
|
363 line is just "/*".
|
|
364
|
39
|
365 When editing the same file from two systems (e.g., Unix and MS-Windows) there
|
|
366 mostly was no warning for an existing swap file, because the name of the
|
|
367 edited file differs (e.g., y:\dir\file vs /home/me/dir/file). Added a flag to
|
|
368 the swap file to indicate it is in the same directory as the edited file. The
|
|
369 used path then doesn't matter and the check for editing the same file is much
|
|
370 more reliable.
|
|
371
|
|
372 Client-server communication now supports 'encoding'. When setting 'encoding'
|
|
373 in a Vim server to "utf-8", and using "vim --remote fname" in a console,
|
|
374 "fname" is converted from the console encoding to utf-8. Also allows Vims
|
|
375 with different 'encoding' settings to exchange messages.
|
|
376
|
41
|
377 Internal: Changed ga_room into ga_maxlen, so that it doesn't need to be
|
|
378 incremented/decremented each time.
|
|
379
|
46
|
380 Included a few improvements for Motif from Martin Dalecki. Draw label
|
|
381 contents ourselves to make them handle fonts in a way configurable by Vim and
|
|
382 a bit less dependent on the X11 font management.
|
|
383
|
7
|
384 ==============================================================================
|
|
385 COMPILE TIME CHANGES *compile-changes-7*
|
|
386
|
18
|
387 Mac: "make" now creates the Vim.app directory and "make install" copies it to
|
|
388 its final destination. (Raf)
|
|
389
|
|
390 Mac: Made it possible to compile with Motif, Athena or GTK without tricks and
|
|
391 still being able to use the MacRoman conversion. Added the os_mac_conv.c
|
|
392 file.
|
7
|
393
|
|
394 ==============================================================================
|
|
395 BUG FIXES *bug-fixes-7*
|
|
396
|
10
|
397 When using PostScript printing on MS-DOS the default 'printexpr' used "lpr"
|
|
398 instead of "copy". When 'printdevice' was empty the copy command did not
|
|
399 work. Use "LPT1" then.
|
|
400
|
|
401 The GTK font dialog uses a font size zero when the font name doesn't include a
|
|
402 size. Use a default size of 10.
|
|
403
|
|
404 This example in the documentation didn't work:
|
|
405 :e `=foo . ".c" `
|
|
406 Skip over the expression in `=expr` when looking for comments, |, % and #.
|
|
407
|
|
408 When ":helpgrep" doesn't find anything there is no error message.
|
|
409
|
|
410 "L" and "H" did not take closed folds into account.
|
|
411
|
|
412 Win32: The "-P title" argument stopped at the first title that matched, even
|
|
413 when it doesn't support MDI.
|
|
414
|
|
415 Mac GUI: CTRL-^ and CTRL-@ did not work.
|
|
416
|
|
417 "2daw" on "word." at the end of a line didn't include the preceding white
|
|
418 space.
|
|
419
|
|
420 Win32: Using FindExecutable() doesn't work to find a program. Use
|
|
421 SearchPath() instead. For executable() use $PATHEXT when the program searched
|
|
422 for doesn't have an extension.
|
|
423
|
|
424 When 'virtualedit' is set, moving the cursor up after appending a character
|
|
425 may move it to a different column. Was caused by auto-formatting moving the
|
|
426 cursor and not putting it back where it was.
|
|
427
|
|
428 When indent was added automatically and then moving the cursor, the indent was
|
|
429 not deleted (like when pressing ESC). The "I" flag in 'cpoptions' can be used
|
|
430 to make it work the old way.
|
|
431
|
|
432 When opening a command-line window, 'textwidth' gets set to 78 by the Vim
|
|
433 filetype plugin. Reset 'textwidth' to 0 to avoid lines are broken.
|
|
434
|
|
435 After using cursor(line, col) moving up/down doesn't keep the same column.
|
|
436
|
|
437 Win32: Borland C before 5.5 requires using ".u." for LowPart and HighPart
|
|
438 fields. (Walter Briscoe)
|
7
|
439
|
11
|
440 On Sinix SYS_NMLN isn't always defined. Define it ourselves. (Cristiano De
|
|
441 Michele)
|
|
442
|
14
|
443 Printing with PostScript may keep the printer waiting for more. Append a
|
|
444 CTRL-D to the printer output. (Mike Williams)
|
|
445
|
16
|
446 When converting a string with a hex or octal number the leading '-' was
|
|
447 ignored. ":echo '-05' + 0" resulted in 5 instead of -5.
|
|
448
|
|
449 Using "@:" to repeat a command line didn't work when it contains control
|
|
450 characters.
|
|
451
|
17
|
452 When using file completion for a user command, it would not expand environment
|
|
453 variables like for a regular command with a file argument.
|
|
454
|
|
455 'cindent': When the argument of a #define looks like a C++ class the next line
|
|
456 is indented too much.
|
|
457
|
|
458 When 'comments' includes multi-byte characters inserting the middle part and
|
|
459 alignment may go wrong. 'cindent' also suffers from this for right-aligned
|
|
460 items.
|
|
461
|
18
|
462 The default for 'helplang' was "zh" for both "zh_cn" and "zh_tw". Now use
|
|
463 "cn" or "tw" as intended.
|
|
464
|
20
|
465 When 'bin' is set and 'eol' is not set then line2byte() added the line break
|
|
466 after the last line while it's not there.
|
|
467
|
|
468 Using foldlevel() in a WinEnter autocommand may not work. Noticed when
|
|
469 resizing the GUI shell upon startup.
|
|
470
|
|
471 Python: Using buffer.append(f.readlines()) didn't work. Allow appending a
|
|
472 string with a trailing newline. The newline is ignored.
|
|
473
|
21
|
474 When using the ":saveas f2" command for buffer "f1", the Buffers menu would
|
|
475 contain "f2" twice, one of them leading to "f1". Also trigger the BufFilePre
|
|
476 and BufFilePost events for the alternate buffer that gets the old name.
|
|
477
|
22
|
478 strridx() did not work well when the needle is empty. (Ciaran McCreesh)
|
|
479
|
|
480 GTK: Avoid a potential hang in gui_mch_wait_for_chars() when input arrives
|
|
481 just before it is invoked
|
|
482
|
|
483 VMS: Occasionally CR characters were inserted in the file. Expansion of
|
|
484 environment variables was not correct. (Zoltan Arpadffy)
|
|
485
|
|
486 UTF-8: When 'delcombine' is set "dw" only deleted the last combining character
|
|
487 from the first character of the word.
|
|
488
|
|
489 When using ":sball" in an autocommand only the filetype in one buffer was
|
|
490 detected. Reset did_filetype in enter_buffer().
|
|
491
|
|
492 When using ":argdo" and the window already was at the first argument index,
|
|
493 but not actually editing it, the current buffer would be used instead.
|
|
494
|
23
|
495 When ":next dir/*" includes many matches, adding the names to the argument
|
|
496 list may take an awful lot of time and can't be interrupted. Allow
|
|
497 interrupting this.
|
|
498
|
|
499 When editing a file that was already loaded in a buffer, modelines were not
|
|
500 used. Now window-local options in the modeline are set. Buffer-local options
|
|
501 and global options remain unmodified.
|
|
502
|
|
503 Win32: When 'encoding' is set to "utf-8" in the vimrc file, files from the
|
|
504 command line with non-ASCII characters are not used correctly. Recode the
|
|
505 file names when 'encoding' is set, using the Unicode command line.
|
|
506
|
24
|
507 Win32 console: When the default for 'encoding' ends up to be "latin1", the
|
|
508 default value of 'isprint' was wrong.
|
|
509
|
|
510 When an error message is given while waiting for a character (e.g., when an
|
|
511 xterm reports the number of colors), the hit-enter prompt overwrote the last
|
|
512 line. Don't reset msg_didout in normal_cmd() for K_IGNORE.
|
|
513
|
26
|
514 Mac GUI: Shift-Tab didn't work.
|
|
515
|
|
516 When defining tooltip text, don't translate terminal codes, since it's not
|
|
517 going to be used like a command.
|
|
518
|
|
519 GTK 2: Check the tooltip text for valid utf-8 characters to avoid getting a
|
|
520 GTK error. Invalid characters may appear when 'encoding' is changed.
|
|
521
|
|
522 GTK 2: Add a safety check for invalid utf-8 sequences, they can crash pango.
|
|
523
|
|
524 Win32: When 'encoding' is changed while starting up, use the Unicode command
|
|
525 line to convert the file arguments to 'encoding'. Both for the GUI and the
|
|
526 console version.
|
|
527
|
|
528 Win32 GUI: latin9 text (iso-8859-15) was not displayed correctly, because
|
|
529 there is no codepage for latin9. Do our own conversion from latin9 to UCS2.
|
|
530
|
29
|
531 When two versions of GTK+ 2 are installed it was possible to use the header
|
|
532 files from one and the library from the other. Use GTK_LIBDIR to put the
|
|
533 directory for the library early in the link flags.
|
|
534
|
|
535 With the GUI find/replace dialog a replace only worked if the pattern was
|
|
536 literal text. Now it works for any pattern.
|
|
537
|
36
|
538 When 'equalalways' is set and 'eadirection' is "hor", ":quit" would still
|
|
539 cause equalizing window heights in the vertical direction.
|
|
540
|
|
541 When ":emenu" is used in a startup script the command was put in the typeahead
|
|
542 buffer, causing a prompt for the crypt key to be messed up.
|
|
543
|
|
544 Mac OS/X: The default for 'isprint' included characters 128-160, causes
|
|
545 problems for Terminal.app.
|
|
546
|
|
547 When a syntax item with "containedin" is used, it may match in the start or
|
|
548 end of a region with a matchgroup, while this doesn't happen for a "contains"
|
|
549 argument.
|
|
550
|
|
551 When a transparent syntax items matches in another item where the highlighting
|
|
552 has already stopped (because of a he= argument), the highlighting would come
|
|
553 back.
|
|
554
|
|
555 When cscope is used to set the quickfix error list, it didn't get set if there
|
|
556 was only one match. (Sergey Khorev)
|
|
557
|
|
558 When 'confirm' is set and using ":bdel" in a modified buffer, then selecting
|
|
559 "cancel", would still give an error message.
|
|
560
|
|
561 The PopUp menu items that started Visual mode didn't work when not in Normal
|
|
562 mode. Switching between selecting a word and a line was not possible.
|
|
563
|
|
564 Win32: The keypad decimal point always resulted in a '.', while on some
|
|
565 keyboards it's a ','. Use MapVirtualKey(VK_DECIMAL, 2).
|
|
566
|
|
567 Removed unused function DisplayCompStringOpaque() from gui_w32.c
|
|
568
|
|
569 In Visual mode there is not always an indication whether the line break is
|
|
570 selected or not. Highlight the character after the line when the line break
|
|
571 is included, e.g., after "v$o".
|
|
572
|
|
573 GTK: The <F10> key can't be mapped, it selects the menu. Disable that with a
|
|
574 GTK setting and do select the menu when <F10> isn't mapped. (David Necas)
|
|
575
|
|
576 After "Y" '[ and '] were not at start/end of the yanked text.
|
|
577
|
|
578 When a telnet connection is dropped Vim preserves files and exits. While
|
|
579 doing that a SIGHUP may arrive and disturbe us, thus ignore it. (Scott
|
38
|
580 Anderson) Also postpone SIGHUP, SIGQUIT and SIGTERM until it's safe to
|
|
581 handle. Added handle_signal().
|
|
582
|
|
583 When using "set laststatus=2 cmdheight=2" in the .gvimrc you may only get one
|
|
584 line for the cmdline. (Christian Robinson) Invoke command_height() after the
|
|
585 GUI has started up.
|
36
|
586
|
39
|
587 When completing a file name on the command line backslashes are required for
|
|
588 white space. Was only done for a space, not for a Tab.
|
|
589
|
|
590 When configure could not find a terminal library, compiling continued for a
|
|
591 long time before reporting the problem. Added a configure check for tgetent()
|
|
592 being found in a library.
|
|
593
|
|
594 When the cursor is on the first char of the last line a ":g/pat/s///" command
|
|
595 may cause the cursor to be displayed below the text.
|
|
596
|
|
597 Win32: Editing a file with non-ASCII characters doesn't work when 'encoding'
|
|
598 is "utf-8". use _wfullpath() instead of _fullpath(). (Yu-sung Moon)
|
|
599
|
|
600 When recovering the 'fileformat' and 'fileencoding' were taken from the
|
|
601 original file instead of from the swapfile. When the file didn't exist, was
|
|
602 empty or the option was changed (e.g., with ":e ++fenc=cp123 file") it could
|
|
603 be wrong. Now store 'fileformat' and 'fileencoding' in the swapfile and use
|
|
604 the values when recovering.
|
|
605
|
|
606 ":bufdo g/something/p" overwrites each last printed text line with the file
|
|
607 message for the next buffer. Temporarily clear 'shortmess' to avoid that.
|
|
608
|
40
|
609 Win32: Cannot edit a file starting with # with --remote. Do escape % and #
|
|
610 when building the ":drop" command.
|
|
611
|
41
|
612 A comment or | just after a expresion-backtick argument was not recognized.
|
|
613 E.g. in :e `="foo"`"comment.
|
|
614
|
46
|
615 "(" does not stop at an empty sentence (single dot and white space) while ")"
|
|
616 does. Also breaks "das" on that dot.
|
|
617
|
|
618 When doing "yy" with the cursor on a TAB the ruler could be wrong and "k"
|
|
619 moved the cursor to another column.
|
|
620
|
|
621 When 'commentstring' is '"%s' and there is a double quote in the line a double
|
|
622 quote before the fold marker isn't removed in the text displayed for a closed
|
|
623 fold.
|
|
624
|
|
625 In Visual mode, when 'bin' and 'eol' set, g CTRL-G counted the last line
|
|
626 break, resulting in "selected 202 of 201 bytes".
|
|
627
|
|
628 Motif: fonts were not used for dialog components. (Martin Dalecki)
|
|
629
|
7
|
630 vim:tw=78:ts=8:ft=help:norl:
|