842
|
1 *version7.txt* For Vim version 7.0f. Last change: 2006 Apr 24
|
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
|
141
|
9 compared to Vim 6.x. Use this command to see the version you are using: >
|
|
10 :version
|
7
|
11
|
|
12 See |vi_diff.txt| for an overview of differences between Vi and Vim 7.0.
|
|
13 See |version4.txt| for differences between Vim 3.x and Vim 4.x.
|
|
14 See |version5.txt| for differences between Vim 4.x and Vim 5.x.
|
|
15 See |version6.txt| for differences between Vim 5.x and Vim 6.x.
|
|
16
|
|
17 INCOMPATIBLE CHANGES |incompatible-7|
|
|
18
|
|
19 NEW FEATURES |new-7|
|
|
20
|
116
|
21 Vim script enhancements |new-vim-script|
|
222
|
22 Spell checking |new-spell|
|
523
|
23 Omni completion |new-omni-completion|
|
306
|
24 MzScheme interface |new-MzScheme|
|
|
25 Printing multi-byte text |new-print-multi-byte|
|
747
|
26 Tab pages |new-tab-pages|
|
761
|
27 Undo branches |new-undo-branches|
|
714
|
28 Extended Unicode support |new-more-unicode|
|
747
|
29 More highlighting |new-more-highlighting|
|
36
|
30 Translated manual pages |new-manpage-trans|
|
43
|
31 Internal grep |new-vimgrep|
|
446
|
32 Scroll back in messages |new-scroll-back|
|
774
|
33 Cursor past end of the line |new-onemore|
|
164
|
34 POSIX compatibility |new-posix|
|
192
|
35 Debugger support |new-debug-support|
|
462
|
36 Remote file explorer |new-netrw-explore|
|
594
|
37 Define an operator |new-define-operator|
|
725
|
38 Mapping to an expression |new-map-expression|
|
791
|
39 Visual and Select mode mappings |new-map-select|
|
647
|
40 Location list |new-location-list|
|
7
|
41 Various new items |new-items-7|
|
|
42
|
|
43 IMPROVEMENTS |improvements-7|
|
|
44
|
|
45 COMPILE TIME CHANGES |compile-changes-7|
|
|
46
|
|
47 BUG FIXES |bug-fixes-7|
|
|
48
|
|
49 ==============================================================================
|
|
50 INCOMPATIBLE CHANGES *incompatible-7*
|
|
51
|
|
52 These changes are incompatible with previous releases. Check this list if you
|
141
|
53 run into a problem when upgrading from Vim 6.x to 7.0.
|
|
54
|
|
55 A ":write file" command no longer resets the 'modified' flag of the buffer,
|
|
56 unless the '+' flag is in 'cpoptions' |cpo-+|. This was illogical, since the
|
|
57 buffer is still modified compared to the original file. And when undoing
|
|
58 all changes the file would actually be marked modified. It does mean that
|
|
59 ":quit" fails now.
|
7
|
60
|
10
|
61 ":helpgrep" now uses a help window to display a match.
|
|
62
|
39
|
63 In an argument list double quotes could be used to include spaces in a file
|
|
64 name. This caused a difference between ":edit" and ":next" for escaping
|
|
65 double quotes and it is incompatible with some versions of Vi.
|
|
66 Command Vim 6.x file name Vim 7.x file name ~
|
|
67 :edit foo\"888 'foo"888' 'foo"888'
|
|
68 :next foo\"888 'foo888' 'foo"888'
|
|
69 :next a\"b c\"d 'ab cd' 'a"b' and 'c"d'
|
|
70
|
100
|
71 In a |literal-string| a single quote can be doubled to get one.
|
|
72 ":echo 'a''b'" would result in "a b", but now that two quotes stand for one it
|
|
73 results in "a'b".
|
|
74
|
460
|
75 When overwriting a file with ":w! fname" there was no warning for when "fname"
|
|
76 was being edited by another Vim. Vim now gives an error message |E768|.
|
|
77
|
575
|
78 The support for Mac OS 9 has been removed.
|
|
79
|
816
|
80 Files ending in .tex now have 'filetype' set to "context", "plaintex", or
|
|
81 "tex". |ft-tex-plugin|
|
|
82
|
10
|
83
|
|
84 Minor incompatibilities:
|
|
85
|
|
86 For filetype detection: For many types, instead of ~/.dir/filename use
|
|
87 */.dir/filename, so that it also works for other user's files.
|
|
88
|
819
|
89 For quite a few filetypes the indent settings have been moved from the
|
|
90 filetype plugin to the indent plugin. If you used: >
|
|
91 :filetype plugin on
|
|
92 Then some indent settings may be missing. You need to use: >
|
|
93 :filetype plugin indent on
|
|
94
|
10
|
95 ":0verbose" now sets 'verbose' to zero instead of one.
|
|
96
|
|
97 Removed the old and incomplete "VimBuddy" code.
|
|
98
|
|
99 Buffers without a name report "No Name" instead of "No File". It was
|
|
100 confusing for buffers with a name and 'buftype' set to "nofile".
|
7
|
101
|
29
|
102 When ":file xxx" is used in a buffer without a name, the alternate file name
|
|
103 isn't set. This avoids creating buffers without a name that are not useful.
|
|
104
|
|
105 The "2html.vim" script now converts closed folds to HTML. This means the HTML
|
279
|
106 looks like its displayed, with the same folds open and closed. Use "zR", or
|
|
107 "let html_ignore_folding=1", if no folds should appear in the HTML. (partly by
|
|
108 Carl Osterwisch)
|
32
|
109 Diff mode now is also converted as it is displayed.
|
29
|
110
|
36
|
111 Win32: The effect of the <F10> key depended on 'winaltkeys'. Now it depends
|
|
112 on whether <F10> has been mapped or not. This allows mapping <F10> without
|
|
113 changing 'winaltkeys'.
|
|
114
|
100
|
115 When 'octal' is in 'nrformats' and using CTRL-A on "08" it became "018", which
|
|
116 is illogical. Now it becomes "9". The leading zero(s) is(are) removed to
|
|
117 avoid the number becoming octal after incrementing "009" to "010".
|
39
|
118
|
|
119 When 'encoding' is set to a Unicode encoding, the value for 'fileencodings'
|
|
120 now includes "default" before "latin1". This means that for files with 8-bit
|
|
121 encodings the default is to use the encoding specified by the environment, if
|
|
122 possible. Previously latin1 would always be used, which is wrong in a
|
|
123 non-latin1 environment, such as Russian.
|
|
124
|
149
|
125 Previously Vim would exit when there are two windows, both of them displaying
|
|
126 a help file, and using ":quit". Now only the window is closed.
|
|
127
|
164
|
128 "-w {scriptout}" only works when {scriptout} doesn't start with a digit.
|
|
129 Otherwise it's used to set the 'window' option.
|
|
130
|
181
|
131 Previously <Home> and <xHome> could be mapped separately. This had the
|
|
132 disadvantage that all mappings (with modifiers) had to be duplicated, since
|
|
133 you can't be sure what the keyboard generates. Now all <xHome> are internally
|
|
134 translated to <Home>, both for the keys and for mappings. Also for <xEnd>,
|
|
135 <xF1>, etc.
|
|
136
|
237
|
137 ":put" now leaves the cursor on the last inserted line.
|
|
138
|
379
|
139 When a .gvimrc file exists then 'compatible' is off, just like when a ".vimrc"
|
|
140 file exists.
|
|
141
|
494
|
142 When making a string upper-case with "vlllU" or similar then the German sharp
|
|
143 s is replaced with "SS". This does not happen with "~" to avoid backwards
|
|
144 compatibility problems and because "SS" can't be changed back to a sharp s.
|
|
145
|
505
|
146 "gd" previously found the very first occurrence of a variable in a function,
|
|
147 that could be the function argument without type. Now it finds the position
|
|
148 where the type is given.
|
|
149
|
697
|
150 The line continuation in functions was not taken into account, line numbers in
|
|
151 errors were logical lines, not lines in the sourced file. That made it
|
|
152 difficult to locate errors. Now the line number in the sourced file is
|
|
153 reported, relative to the function start. This also means that line numbers
|
|
154 for ":breakadd func" are different.
|
|
155
|
791
|
156 When defining a user command with |:command| the special items could be
|
|
157 abbreviated. This caused unexpected behavior, such as <li> being recognized
|
|
158 as <line1>. The items can no longer be abbreviated.
|
|
159
|
819
|
160 When executing a FileChangedRO autocommand it is no longer allowed to switch
|
|
161 to another buffer or edit another file. This is to prevent crashes (the event
|
|
162 is triggered deep down in the code where changing buffers is not anticipated).
|
823
|
163 It is possible to reload the buffer.
|
819
|
164
|
7
|
165 ==============================================================================
|
|
166 NEW FEATURES *new-7*
|
|
167
|
116
|
168 Vim script enhancements *new-vim-script*
|
|
169 -----------------------
|
7
|
170
|
|
171 In Vim scripts the following types have been added:
|
|
172
|
97
|
173 List ordered list of items |List|
|
|
174 Dictionary associative array of items |Dictionary|
|
|
175 Funcref reference to a function |Funcref|
|
7
|
176
|
|
177 Many functions and commands have been added to support the new types.
|
|
178
|
97
|
179 The |string()| function can be used to get a string representation of a
|
|
180 variable. Works for Numbers, Strings and composites of them. Then |eval()|
|
|
181 can be used to turn the string back into the variable value.
|
|
182
|
791
|
183 The |:let| command can now use "+=". ":let var += expr" works like
|
819
|
184 ":let var = var + expr". "-=" and ".=" work in a similar way.
|
116
|
185
|
175
|
186 With the |:profile| command you can find out where your function or script
|
|
187 wastes its time.
|
|
188
|
634
|
189 In the Python interface vim.eval() also handles Dictionaries and Lists.
|
|
190 |python-eval| (G. Sumner Hayes)
|
|
191
|
795
|
192 The |getscript| plugin was added as a convenient way to update scripts from
|
|
193 www.vim.org automatically. (Charles Campbell)
|
|
194
|
|
195 The |vimball| plugin was added as a convenient way to distribute a set of
|
|
196 files for a plugin (plugin file, autoload script, documentation). (Charles
|
|
197 Campbell)
|
|
198
|
11
|
199
|
222
|
200 Spell checking *new-spell*
|
|
201 --------------
|
|
202
|
|
203 Spell checking has been integrated in Vim. There were a few implementations
|
|
204 with scripts, but they were slow and/or required an external program.
|
|
205
|
|
206 The 'spell' option is used to switch spell checking on or off.
|
|
207 The 'spelllang' option is used to specify the languages that are accepted.
|
323
|
208 The 'spellfile' option specifies where new words are added.
|
379
|
209 The 'spellsuggest' option specifies the methods used for making suggestions
|
323
|
210
|
|
211 The |[s| and |]s| commands can be used to move to the next or previous error.
|
|
212 The |zg| and |zw| commands can be used to add good and wrong words.
|
594
|
213 The |z=| command can be used to correct the word.
|
379
|
214 The |:mkspell| command is used to generate a Vim spell file from word lists.
|
222
|
215
|
|
216 The "undercurl" highlighting attribute was added to nicely point out spelling
|
|
217 mistakes in the GUI (based on patch from Marcin Dalecki).
|
|
218 The "guisp" color can be used to give it a color different from foreground and
|
|
219 background.
|
|
220 The number of possible different highlight attributes was raised from about
|
|
221 220 to over 30000. This allows for the attributes of spelling to be combined
|
301
|
222 with syntax highlighting attributes. This is also used for syntax
|
|
223 highlighting.
|
222
|
224
|
|
225 Much more info here: |spell|.
|
|
226
|
|
227
|
523
|
228 Omni completion *new-omni-completion*
|
|
229 -----------------
|
|
230
|
|
231 This could also be called "intellisense", but that is a trademark. It is a
|
|
232 smart kind of completion. The text in front of the cursor is inspected to
|
659
|
233 figure out what could be following. This may suggest struct and class
|
|
234 members, system functions, etc.
|
523
|
235
|
|
236 Use CTRL-X CTRL-O in Insert mode to start the completion. |i_CTRL-X_CTRL-O|
|
|
237
|
|
238 The 'omnifunc' option is set by filetype plugins to define the function that
|
|
239 figures out the completion.
|
|
240
|
541
|
241 Currently supported languages:
|
659
|
242 C |ft-c-omni|
|
|
243 (X)HTML with CSS |ft-html-omni|
|
|
244 JavaScript |ft-javascript-omni|
|
829
|
245 Python
|
838
|
246 Ruby |ft-ruby-omni|
|
829
|
247 XML |ft-xml-omni|
|
659
|
248 any language wih syntax highligting |ft-syntax-omni|
|
541
|
249
|
|
250 When the 'completeopt' option contains "menu" then matches for Insert mode
|
|
251 completion are displayed in a popup menu.
|
523
|
252
|
|
253
|
14
|
254 MzScheme interface *new-MzScheme*
|
|
255 ------------------
|
|
256
|
|
257 The MzScheme interpreter is supported. |MzScheme|
|
|
258 The |:mzscheme| command can be used to execute MzScheme commands.
|
|
259 The |:mzfile| command can be used to execute an MzScheme script file.
|
|
260
|
97
|
261
|
15
|
262 Printing multi-byte text *new-print-multi-byte*
|
|
263 ------------------
|
|
264
|
|
265 The |:hardcopy| command now supports printing multi-byte characters.
|
|
266 The 'printmbcharset' and 'printmbfont' options are used for this.
|
|
267 Also see |postscript-cjk-printing|. (Mike Williams)
|
|
268
|
14
|
269
|
747
|
270 Tab pages *new-tab-pages*
|
|
271 ---------
|
|
272
|
|
273 A tab page is page with one or more windows with a label (aka tab) at the top.
|
|
274 By clicking on the label you can quickly switch between the tab pages. And
|
|
275 with the keyboard, using the |gt| (Goto Tab) command. This is a convenient
|
|
276 way to work with many windows.
|
|
277
|
|
278 To start Vim with each file argument in a separate tab page use the |-p|
|
|
279 argument. The maximum number of pages can be set with 'tabpagemax'.
|
|
280
|
|
281 The line with tab labels is either made with plain text an highlighting or
|
|
282 with a GUI mechanism. The GUI labels look better but are only available on a
|
839
|
283 few systems. The line can be customized with 'tabline', 'guitablabel' and
|
|
284 'guitabtooltip'. Whether it is displayed is set with 'showtabline'. Whether
|
|
285 to use the GUI labels is set with the "e" flag in 'guioptions'.
|
747
|
286
|
|
287 The |:tab| command modifier can be used to have most commands that open a new
|
|
288 window open a new tab instead.
|
|
289
|
754
|
290 The |--remote-tab| argument can be used to edit a file in a new tab page in an
|
|
291 already running Vim server.
|
|
292
|
819
|
293 Variables starting with "t:" are local to a tab page.
|
|
294
|
747
|
295 More info here: |tabpage|
|
810
|
296 The Win32 GUI tabs were implemented by Yegappan Lakshmanan.
|
747
|
297
|
|
298
|
761
|
299 Undo branches *new-undo-branches*
|
|
300 -------------
|
|
301
|
|
302 Previously there was only one line of undo-redo. If, after undoing a number
|
|
303 of changes, a new change was made all the undone changes were lost. This
|
774
|
304 could lead to accidentally losing work.
|
761
|
305
|
|
306 Vim now makes an undo branch in this situation. Thus you can go back to the
|
|
307 text after any change, even if they were undone. So long as you do not run
|
774
|
308 into 'undolevels', undo information is freed up to limit the memory used.
|
761
|
309
|
|
310 To be able to navigate the undo branches each change is numbered sequentially.
|
|
311 The commands |g-| and |:earlier| go back in time, to older changes. The
|
|
312 commands |g+| and |:later| go forward in time, to newer changes.
|
|
313
|
|
314 The changes are also timestamped. Use ":earlier 10m" to go to the text as it
|
|
315 was about ten minutes earlier.
|
|
316
|
774
|
317 The |:undolist| command can be used to get an idea of which undo branches
|
|
318 exist. The |:undo| command now takes an argument to directly jump to a
|
777
|
319 specific position in this list. The |changenr()| function can be used to
|
|
320 obtain the change number.
|
774
|
321
|
761
|
322 There is no graphical display of the tree with changes, navigation can be
|
|
323 quite confusing.
|
|
324
|
|
325
|
714
|
326 Extended Unicode support *new-more-unicode*
|
|
327 ------------------------
|
|
328
|
|
329 Previously only two combining characters were displayed. The limit is now
|
|
330 raised to 6. This can be set with the 'maxcombine' option. The default is
|
|
331 still 2.
|
|
332
|
|
333 |ga| now shows all combining characters, not just the first two.
|
|
334
|
|
335 Previously only 16 bit Unicode characters were supported for displaying. Now
|
|
336 the full 32 bit character set can be used. Unless manually disabled at
|
|
337 compile time.
|
|
338
|
|
339 For pattern matching it is now possible to search for individual composing
|
|
340 characters. |patterns-composing|
|
|
341
|
777
|
342 The |8g8| command searches for an illegal UTF-8 byte sequence.
|
|
343
|
714
|
344
|
747
|
345 More highlighting *new-more-highlighting*
|
|
346 -----------------
|
|
347
|
|
348 Highlighting matching parens
|
694
|
349
|
|
350 When moving the cursor through the text and it is on a paren, then the
|
|
351 matching paren can be highlighted. This uses the new |CursorMoved|
|
|
352 autocommand event.
|
|
353
|
836
|
354 This means some commands are executed every time you move the cursor. If this
|
|
355 slows you down too much switch it off with: >
|
|
356 :NoMatchParen
|
|
357
|
700
|
358 See |matchparen| for more information.
|
|
359
|
|
360 The plugin uses the |:match| command. It now supports three match patterns.
|
|
361 The plugin uses the third one. The first one is for the user and the second
|
|
362 one can be used by another plugin.
|
694
|
363
|
747
|
364 Highlighting the cursor line and column
|
|
365
|
|
366 The 'cursorline' and 'cursorcolumn' options have been added. These highlight
|
|
367 the screen line and screen column of the cursor. This makes the cursor
|
|
368 position easier to spot. 'cursorcolumn' is also useful to align text. The
|
|
369 CursorColumn and CursorLine highlighting allow changing the colors used.
|
|
370 |hl-CursorColumn| |hl-CursorLine|
|
|
371
|
694
|
372
|
36
|
373 Translated manual pages *new-manpage-trans*
|
|
374 -----------------------
|
|
375
|
|
376 The manual page of Vim and associated programs is now also available in
|
200
|
377 several other languages.
|
|
378
|
237
|
379 French - translated by David Blanchet
|
200
|
380 Italian - translated by Antonio Colombo
|
|
381 Russian - translated by Vassily Ragosin
|
809
|
382 Polish - translated by Mikolaj Machowski
|
36
|
383
|
237
|
384 The Unix Makefile installs the Italian manual pages in .../man/it/man1/,
|
|
385 .../man/it.ISO8859-1/man1/ and .../man/it.UTF-8/man1/. There appears to be no
|
|
386 standard for what encoding goes in the "it" directory, the 8-bit encoded file
|
|
387 is used there as a best guess.
|
|
388 Other languages are installed in similar places.
|
284
|
389 The translated pages are not automatically installed when Vim was configured
|
|
390 with "--disable-nls", but "make install-languages install-tool-languages" will
|
|
391 do it anyway.
|
40
|
392
|
36
|
393
|
43
|
394 Internal grep *new-vimgrep*
|
|
395 -------------
|
|
396
|
|
397 The ":vimgrep" command can be used to search for a pattern in a list of files.
|
|
398 This is like the ":grep" command, but no external program is used. Besides
|
|
399 better portability, handling of different file encodings and using multi-line
|
|
400 patterns, this also allows grepping in compressed and remote files.
|
|
401 |:vimgrep|.
|
|
402
|
170
|
403 If you want to use the search results in a script you can use the
|
231
|
404 |getqflist()| function.
|
170
|
405
|
445
|
406 To search in files in various directories the "**" pattern can be used. It
|
|
407 expands into an arbitrary depth of directories. "**" can be used in all
|
|
408 places where file names are expanded, thus also with |:next| and |:args|.
|
|
409
|
43
|
410
|
446
|
411 Scroll back in messages *new-scroll-back*
|
|
412 -----------------------
|
|
413
|
|
414 When displaying messages, at the |more-prompt| and the |hit-enter-prompt|, The
|
|
415 'k', 'u' and 'b' keys can be used to scroll back to previous messages. This
|
|
416 is especially useful for commands such as ":syntax", ":autocommand" and
|
|
417 ":highlight". This is implemented in a generic way thus it works for all
|
|
418 commands and highlighting is kept. Only works when the 'more' option is set.
|
|
419 Previously it only partly worked for ":clist".
|
|
420
|
448
|
421 The |g<| command can be used to see the last page of messages after you have
|
|
422 hit <Enter> at the |hit-enter-prompt|. Then you can scroll further back.
|
|
423
|
446
|
424
|
774
|
425 Cursor past end of the line *new-onemore*
|
|
426 ---------------------------
|
|
427
|
|
428 When the 'virtualedit' option contains "onemore" the cursor can move just past
|
|
429 the end of the line. As if it's on top of the line break.
|
|
430
|
|
431 This makes some commands more consistent. Previously the cursor was always
|
|
432 past the end of the line if the line was empty. But it is far from Vi
|
|
433 compatible. It may also break some plugins or Vim scripts. Use with care!
|
|
434
|
|
435 The patch was provided by Mattias Flodin.
|
|
436
|
|
437
|
164
|
438 POSIX compatibility *new-posix*
|
|
439 -------------------
|
|
440
|
|
441 The POSIX test suite was used to verify POSIX compatibility. A number of
|
|
442 problems have been fixed to make Vim more POSIX compatible. Some of them
|
|
443 conflict with traditional Vi or expected behavior. The $VIM_POSIX environment
|
|
444 variable can be set to get POSIX compatibility. See |posix|.
|
|
445
|
|
446 Items that were fixed for both Vi and POSIX compatibilty:
|
|
447 - repeating "R" with a count only overwrites text once; added the 'X' flag to
|
|
448 'cpoptions' |cpo-X|
|
|
449 - a vertical movement command that moves to a non-existing line fails; added
|
|
450 the '-' flag to 'cpoptions' |cpo--|
|
|
451 - when preserving a file and doing ":q!" the file can be recovered; added the
|
|
452 '&' flag to 'cpoptions' |cpo-&|
|
|
453 - The 'window' option is partly implemented. It specifies how much CTRL-F and
|
|
454 CTRL-B scroll when there is one window. The "-w {number}" argument is now
|
|
455 accepted. "-w {scriptout}" only works when {scriptout} doesn't start with a
|
|
456 digit.
|
|
457 - Allow "-c{command}" argument, no space between "-c" and {command}.
|
|
458 - When writing a file with ":w!" don't reset 'readonly' when 'Z' is present in
|
|
459 'cpoptions'.
|
169
|
460 - Allow 'l' and '#' flags for ":list", ":print" and ":number".
|
|
461 - Added the '.' flag to 'cpoptions': ":cd" fails when the buffer is modified.
|
|
462 - In Ex mode with an empty buffer ":read file" doesn't keep an empty line
|
|
463 above or below the new lines.
|
|
464 - Remove a backslash before a NL for the ":global" command.
|
|
465 - When ":append", ":insert" or ":change" is used with ":global", get the
|
|
466 inserted lines from the command. Can use backslash-NL to separate lines.
|
|
467 - Can use ":global /pat/ visual" to execute Normal mode commands at each
|
|
468 matched line. Use "Q" to continue and go to the next line.
|
|
469 - The |:open| command has been partially implemented. It stops Ex mode, but
|
|
470 redraws the whole screen, not just one line as open mode is supposed to do.
|
|
471 - Support using a pipe to read the output from and write input to an external
|
|
472 command. Added the 'shelltemp' option and has("filterpipe").
|
|
473 - In ex silent mode the ":set" command output is displayed.
|
|
474 - The ":@@" and ":**" give an error message when no register was used before.
|
|
475 - The search pattern "[]-`]" matches ']', '^', '_' and '`'.
|
|
476 - Autoindent for ":insert" is using the line below the insert.
|
|
477 - Autoindent for ":change" is using the first changed line.
|
|
478 - Editing Ex command lines is not done in cooked mode, because CTRL-D and
|
|
479 CTRL-T cannot be handled then.
|
308
|
480 - In Ex mode, "1,3" prints three lines. "%" prints all lines.
|
|
481 - In Ex mode "undo" would undo all changes since Ex mode was started.
|
169
|
482 - Implemented the 'prompt' option.
|
164
|
483
|
|
484
|
192
|
485 Debugger support *new-debug-support*
|
|
486 ----------------
|
|
487
|
|
488 The 'balloonexpr' option has been added. This is a generic way to implement
|
|
489 balloon functionality. You can use it to show info for the word under the
|
|
490 mouse pointer.
|
|
491
|
|
492
|
462
|
493 Remote file explorer *new-netrw-explore*
|
|
494 --------------------
|
|
495
|
|
496 The netrw plugin now also supports viewing a directory, when "scp://" is used.
|
|
497 Deleting and renaming files is possible.
|
|
498
|
|
499 To avoid duplicating a lot of code, the previous file explorer plugin has been
|
|
500 integrated in the netrw plugin. This means browsing local and remote files
|
|
501 works the same way.
|
|
502
|
|
503 ":browse edit" and ":browse split" use the netrw plugin when it's available
|
|
504 and a GUI dialog is not possible.
|
|
505
|
|
506 The netrw plugin is maintained by Charles Campbell.
|
|
507
|
|
508
|
594
|
509 Define an operator *new-define-operator*
|
|
510 ------------------
|
|
511
|
|
512 Previously it was not possible to define your own operator; a command that is
|
|
513 followed by a {motion}. Vim 7 introduces the 'operatorfunc' option and the
|
|
514 |g@| operator. This makes it possible to define a mapping that works like an
|
|
515 operator. The actual work is then done by a function, which is invoked
|
|
516 through the |g@| operator.
|
|
517
|
|
518 See |:map-operator| for the explanation and an example.
|
|
519
|
658
|
520
|
725
|
521 Mapping to an expression *new-map-expression*
|
|
522 ------------------------
|
|
523
|
|
524 The {rhs} argument of a mapping can be an expression. That means the
|
|
525 resulting characters can depend on the context. Example: >
|
|
526 :inoremap <expr> . InsertDot()
|
|
527 Here the dot will be mapped to whatever InsertDot() returns.
|
|
528
|
|
529 Also works for abbreviations. See |:map-<expr>| for the details.
|
|
530
|
|
531
|
791
|
532 Visual and Select mode mappings *new-map-select*
|
|
533 -------------------------------
|
|
534
|
|
535 Previously Visual mode mappings applied both to Visual and Select mode. With
|
|
536 a trick to have the mappings work in Select mode like they would in Visual
|
|
537 mode.
|
|
538
|
|
539 Commands have been added to define mappings for Visual and Select mode
|
|
540 separately: |:xmap| and |:smap|. With the associated "noremap" and "unmap"
|
|
541 commands.
|
|
542
|
|
543 The same is done for menus: |:xmenu|, |:smenu|, etc.
|
|
544
|
|
545
|
647
|
546 Location list *new-location-list*
|
|
547 -------------
|
|
548
|
|
549 The support for a per-window quickfix list (location list) is added. The
|
|
550 location list can be displayed in a location window (similar to the quickfix
|
|
551 window). You can open more than one location list window. A set of commands
|
|
552 similar to the quickfix commands are added to browse the location list.
|
658
|
553 (Yegappan Lakshmanan)
|
|
554
|
594
|
555
|
7
|
556 Various new items *new-items-7*
|
|
557 -----------------
|
|
558
|
|
559 Normal mode commands: ~
|
|
560
|
12
|
561 a", a' and a` New text objects to select quoted strings. |a'|
|
500
|
562 i", i' and i` (Taro Muraoka)
|
7
|
563
|
170
|
564 CTRL-W <Enter> In the quickfix window: opens a new window to show the
|
|
565 location of the error under the cursor.
|
|
566
|
424
|
567 |at| and |it| text objects select a block of text between HTML or XML tags.
|
|
568
|
601
|
569 <A-LeftMouse> ('mousemodel' "popup" or "popup-setpos")
|
|
570 <A-RightMouse> ('mousemodel' "extend")
|
|
571 Make a blockwise selection. |<A-LeftMouse>|
|
424
|
572
|
681
|
573 gF Start editing the filename under the cursor and jump
|
|
574 to the line number following the file name.
|
|
575 (Yegappan Lakshmanan)
|
|
576
|
|
577 CTRL-W F Start editing the filename under the cursor in a new
|
|
578 window and jump to the line number following the file
|
|
579 name. (Yegappan Lakshmanan)
|
|
580
|
477
|
581 Insert mode commands: ~
|
|
582
|
|
583 CTRL-\ CTRL-O Execute a Normal mode command. Like CTRL-O but
|
|
584 without moving the cursor.
|
|
585
|
7
|
586 Options: ~
|
|
587
|
12
|
588 'completefunc' The name of a function used for user-specified Insert
|
|
589 mode completion. CTRL-X CTRL-U can be used in Insert
|
|
590 mode to do any kind of completion. (Taro Muraoka)
|
541
|
591 'completeopt' Enable popup menu for Insert mode completion.
|
523
|
592 'omnifunc' The name of a function used for omni completion.
|
12
|
593 'quoteescape' Characters used to escape quotes inside a string.
|
|
594 Used for the a", a' and a` text objects. |a'|
|
13
|
595 'numberwidth' Minimal width of the space used for the 'number'
|
|
596 option. (Emmanuel Renieris)
|
14
|
597 'mzquantum' Time in msec to schedule MzScheme threads.
|
15
|
598 'printmbcharset' CJK character set to be used for :hardcopy
|
|
599 'printmbfont' font names to be used for CJK output of :hardcopy
|
36
|
600 'fsync' Whether fsync() is called after writing a file.
|
|
601 (Ciaran McCreesh)
|
40
|
602 'wildoptions' "tagfile" value enables listing the file name of
|
|
603 matching tags for CTRL-D command line completion.
|
|
604 (based on an idea from Yegappan Lakshmanan)
|
41
|
605 'formatlistpat' pattern to recognize a numbered list for formatting.
|
|
606 (idea by Hugo Haas)
|
667
|
607 'formatexpr' expression for formatting text with |gq| and when text
|
|
608 goes over 'textwidth' in Insert mode.
|
222
|
609 'spell' switch spell checking on/off
|
|
610 'spelllang' languages to check spelling for
|
375
|
611 'spellsuggest' methods for spell suggestions
|
410
|
612 'synmaxcol' maximum column to look for syntax items; avoids very
|
|
613 slow redrawing when there are very long lines
|
294
|
614 'verbosefile' Log messages in a file.
|
782
|
615 'winfixwidth' window with fixed width, similar to 'winfixheight'
|
41
|
616
|
7
|
617
|
|
618 Ex commands: ~
|
|
619
|
11
|
620 Win32: The ":winpos" command now also works in the console. (Vipin Aravind)
|
|
621
|
15
|
622 |:startreplace| Start Replace mode. (Charles Campbell)
|
601
|
623 |:startgreplace| Start Virtual Replace mode.
|
14
|
624
|
15
|
625 |:0file| Removes the name of the buffer. (Charles Campbell)
|
14
|
626
|
16
|
627 |:diffoff| Switch off diff mode in the current window or in all
|
|
628 windows.
|
|
629
|
24
|
630 |:delmarks| Delete marks.
|
|
631
|
40
|
632 |:exusage| Help for Ex commands (Nvi command).
|
|
633
|
|
634 |:viusage| Help for Vi commands (Nvi command).
|
|
635
|
284
|
636 |:sort| Sort lines in the buffer without depending on an
|
826
|
637 external command. (partly by Bryce Wagner)
|
284
|
638
|
446
|
639 |:caddfile| Add error messages to an existing quickfix list
|
|
640 (Yegappan Lakshmanan).
|
798
|
641 |:cbuffer| Read error lines from a buffer. (partly by Yegappan
|
|
642 Lakshmanan)
|
|
643 |:cgetbuffer| Create a quickfix list from a buffer but don't jump to
|
|
644 the first error.
|
|
645 |:caddbuffer| Add errors from the current buffer to the quickfix
|
|
646 list.
|
446
|
647 |:cexpr| Read error messages from a Vim expression (Yegappan
|
|
648 Lakshmanan).
|
625
|
649 |:caddexpr| Add error messages from a Vim expression to an
|
|
650 existing quickfix list. (Yegappan Lakshmanan).
|
798
|
651 |:cgetexpr| Create a quickfix list from a Vim expression, but
|
|
652 don't jump to the first error. (Yegappan Lakshmanan).
|
625
|
653
|
659
|
654 |:lfile| Like |:cfile| but use the location list.
|
|
655 |:lgetfile| Like |:cgetfile| but use the location list.
|
|
656 |:laddfile| Like |:caddfile| but use the location list.
|
|
657 |:lbuffer| Like |:cbuffer| but use the location list.
|
800
|
658 |:lgetbuffer| Like |:cgetbuffer| but use the location list.
|
658
|
659 |:laddbuffer| Like |:caddbuffer| but use the location list.
|
659
|
660 |:lexpr| Like |:cexpr| but use the location list.
|
800
|
661 |:lgetexpr| Like |:cgetexpr| but use the location list.
|
659
|
662 |:laddexpr| Like |:caddexpr| but use the location list.
|
|
663 |:ll| Like |:cc| but use the location list.
|
|
664 |:llist| Like |:clist| but use the location list.
|
|
665 |:lnext| Like |:cnext| but use the location list.
|
666
|
666 |:lprevious| Like |:cprevious| but use the location list.
|
659
|
667 |:lNext| Like |:cNext| but use the location list.
|
|
668 |:lfirst| Like |:cfirst| but use the location list.
|
|
669 |:lrewind| Like |:crewind| but use the location list.
|
|
670 |:llast| Like |:clast| but use the location list.
|
|
671 |:lnfile| Like |:cnfile| but use the location list.
|
|
672 |:lpfile| Like |:cpfile| but use the location list.
|
|
673 |:lNfile| Like |:cNfile| but use the location list.
|
|
674 |:lolder| Like |:colder| but use the location list.
|
|
675 |:lnewer| Like |:cnewer| but use the location list.
|
|
676 |:lwindow| Like |:cwindow| but use the location list.
|
|
677 |:lopen| Like |:copen| but use the location list.
|
|
678 |:lclose| Like |:cclose| but use the location list.
|
666
|
679 |:lmake| Like |:make| but use the location list.
|
|
680 |:lgrep| Like |:grep| but use the location list.
|
|
681 |:lgrepadd| Like |:grepadd| but use the location list.
|
|
682 |:lvimgrep| Like |:vimgrep| but use the location list.
|
|
683 |:lvimgrepadd| Like |:vimgrepadd| but use the location list.
|
|
684 |:lhelpgrep| Like |:helpgrep| but use the location list.
|
|
685 |:lcscope| Like |:cscope| but use the location list.
|
|
686 |:ltag| Jump to a tag and add matching tags to a location list.
|
651
|
687
|
697
|
688 |:undojoin| Join a change with the previous undo block.
|
|
689
|
601
|
690
|
591
|
691 Ex command modifiers: ~
|
|
692
|
|
693 |:keepalt| Do not change the alternate file.
|
|
694
|
|
695 |:noautocmd| Do not trigger autocommand events.
|
|
696
|
|
697 |:sandbox| Execute a command in the sandbox.
|
|
698
|
284
|
699
|
597
|
700 Ex command arguments: ~
|
|
701
|
|
702 |++bad| Specify what happens with characters that can't be
|
|
703 converted and illegal bytes. (code example by Yasuhiro
|
|
704 Matsumoto)
|
|
705 Also, when a conversion error occurs or illegal bytes
|
|
706 are found include the line number in the error
|
|
707 message.
|
|
708
|
|
709
|
557
|
710 New and extended functions: ~
|
7
|
711
|
116
|
712 |add()| append an item to a List
|
|
713 |append()| append List of lines to the buffer
|
818
|
714 |argv()| without an argument return the whole argument list
|
432
|
715 |browsedir()| dialog to select a directory
|
807
|
716 |bufnr()| takes an extra argument: create buffer
|
432
|
717 |byteidx()| index of a character (Ilya Sher)
|
116
|
718 |call()| call a function with List as arguments
|
807
|
719 |changenr()| number of current change
|
|
720 |complete()| set matches for Insert mode completion
|
464
|
721 |complete_add()| add match for 'completefunc'
|
|
722 |complete_check()| check for key pressed, for 'completefunc'
|
116
|
723 |copy()| make a shallow copy of a List or Dictionary
|
|
724 |count()| count nr of times a value is in a List or Dictionary
|
704
|
725 |cursor()| also accepts an offset for 'virtualedit', and
|
|
726 the first argument can be a list: [lnum, col, off]
|
116
|
727 |deepcopy()| make a full copy of a List or Dictionary
|
807
|
728 |diff_filler()| returns number of filler lines above line {lnum}.
|
|
729 |diff_hlID()| returns the highlight ID for diff mode
|
116
|
730 |empty()| check if List or Dictionary is empty
|
807
|
731 |eval()| evaluate {string} and return the result
|
116
|
732 |extend()| append one List to another or add items from one
|
|
733 Dictionary to another
|
842
|
734 |feedkeys()| put characters in the typeahead buffer
|
116
|
735 |filter()| remove selected items from a List or Dictionary
|
432
|
736 |finddir()| find a directory in 'path'
|
|
737 |findfile()| find a file in 'path' (Johannes Zellner)
|
|
738 |foldtextresult()| the text displayed for a closed fold at line "lnum"
|
116
|
739 |function()| make a Funcref out of a function name
|
807
|
740 |garbagecollect()| cleanup unused |Lists| and |Dictionaries| with circular
|
|
741 references
|
116
|
742 |get()| get an item from a List or Dictionary
|
436
|
743 |getbufline()| get a list of lines from a specified buffer
|
432
|
744 (Yegappan Lakshmanan)
|
531
|
745 |getcmdtype()| return the current command-line type
|
|
746 (Yegappan Lakshmanan)
|
432
|
747 |getfontname()| get actual font name being used
|
|
748 |getfperm()| get file permission string (Nikolai Weibull)
|
|
749 |getftype()| get type of file (Nikolai Weibull)
|
|
750 |getline()| with second argument: get List with buffer lines
|
807
|
751 |getloclist()| list of location list items (Yegappan Lakshmanan)
|
704
|
752 |getpos()| return a list with the position of cursor, mark, etc.
|
807
|
753 |getqflist()| list of quickfix errors (Yegappan Lakshmanan)
|
|
754 |getreg()| get contents of a register
|
116
|
755 |has_key()| check whether a key appears in a Dictionary
|
807
|
756 |hasmapto()| check for a mapping to a string
|
520
|
757 |inputlist()| select an entry from a list
|
807
|
758 |index()| index of item in List
|
|
759 |inputlist()| prompt the user to make a selection from a list
|
116
|
760 |insert()| insert an item somewhere in a List
|
807
|
761 |islocked()| check if a variable is locked
|
116
|
762 |items()| get List of Dictionary key-value pairs
|
|
763 |join()| join List items into a String
|
|
764 |keys()| get List of Dictionary keys
|
|
765 |len()| number of items in a List or Dictionary
|
|
766 |map()| change each List or Dictionary item
|
807
|
767 |maparg()| extra argument: use abbreviation
|
|
768 |mapcheck()| extra argument: use abbreviation
|
|
769 |match()| extra argument: count
|
819
|
770 |matcharg()| return arguments of |:match| command
|
807
|
771 |matchend()| extra argument: count
|
159
|
772 |matchlist()| list with match and submatches of a pattern in a string
|
807
|
773 |matchstr()| extra argument: count
|
116
|
774 |max()| maximum value in a List or Dictionary
|
|
775 |min()| minimum value in a List or Dictionary
|
169
|
776 |mkdir()| create a directory
|
449
|
777 |printf()| format text
|
807
|
778 |pumvisible()| check whether the popup menu is displayed
|
|
779 |range()| generate a List with numbers
|
159
|
780 |readfile()| read a file into a list of lines
|
795
|
781 |reltime()| get time value, possibly relative
|
|
782 |reltimestr()| turn a time value into a string
|
116
|
783 |remove()| remove one or more items from a List or Dictionary
|
432
|
784 |repeat()| repeat "expr" "count" times (Christophe Poucet)
|
116
|
785 |reverse()| reverse the order of a List
|
807
|
786 |search()| extra argument:
|
523
|
787 |searchdecl()| search for declaration of variable
|
807
|
788 |searchpair()| extra argument: line to stop searching
|
667
|
789 |searchpairpos()| return a List with the position of the match
|
|
790 |searchpos()| return a List with the position of the match
|
647
|
791 |setloclist()| modify a location list (Yegappan Lakshmanan)
|
807
|
792 |setpos()| set cursor or mark to a position
|
647
|
793 |setqflist()| modify a quickfix list (Yegappan Lakshmanan)
|
116
|
794 |sort()| sort a List
|
375
|
795 |soundfold()| get the sound-a-like equivalent of a word
|
|
796 |spellbadword()| get a badly spelled word
|
|
797 |spellsuggest()| get suggestions for correct spelling
|
807
|
798 |split()| split a String into a List
|
782
|
799 |str2nr()| convert a string to a number, base 8, 10 or 16
|
807
|
800 |stridx()| extra argument: start position
|
432
|
801 |string()| string representation of a List or Dictionary
|
807
|
802 |system()| extra argument: filters {input} through a shell command
|
|
803 |tabpagebuflist()| List of buffers in a tab page
|
|
804 |tabpagenr()| number of current or last tab page
|
|
805 |tabpagewinnr()| window number in a tab page
|
|
806 |tagfiles()| List with tags file names
|
432
|
807 |taglist()| get list of matching tags (Yegappan Lakshmanan)
|
|
808 |tr()| translate characters (Ron Aaron)
|
116
|
809 |values()| get List of Dictionary values
|
807
|
810 |winnr()| takes an argument: what window to use
|
713
|
811 |winrestview()| restore the view of the current window
|
|
812 |winsaveview()| save the view of the current window
|
159
|
813 |writefile()| write a list of lines into a file
|
15
|
814
|
162
|
815 User defined functions can now be loaded automatically from the "autoload"
|
|
816 directory in 'runtimepath'. See |autoload-functions|.
|
|
817
|
7
|
818
|
|
819 New autocommand events: ~
|
|
820
|
15
|
821 |ColorScheme| after loading a color scheme
|
716
|
822
|
662
|
823 |CursorHoldI| the user doesn't press a key for a while in Insert mode
|
|
824 |CursorMoved| the cursor was moved in Normal mode
|
|
825 |CursorMovedI| the cursor was moved in Insert mode
|
|
826
|
807
|
827 |FileChangedShellPost| after handling a file changed outside of Vim
|
|
828
|
|
829 |InsertEnter| starting Insert or Replace mode
|
|
830 |InsertChange| going from Insert to Replace mode or back
|
|
831 |InsertLeave| leaving Insert or Replace mode
|
|
832
|
|
833 |MenuPopup| just before showing popup menu
|
|
834
|
|
835 |QuickFixCmdPre| before :make, :grep et al. (Ciaran McCreesh)
|
|
836 |QuickFixCmdPost| after :make, :grep et al. (Ciaran McCreesh)
|
|
837
|
|
838 |SessionLoadPost| after loading a session file. (Yegappan Lakshmanan)
|
|
839
|
|
840 |ShellCmdPost| after executing a shell command
|
|
841 |ShellFilterPost| after filtering with a shell command
|
|
842
|
|
843 |SourcePre| before sourcing a Vim script
|
|
844
|
|
845 |SpellFileMissing| when a spell file can't be found
|
|
846
|
|
847 |SwapExists| found existing swap file when editing a file
|
|
848
|
|
849 |TabEnter| just after entering a tab page
|
|
850 |TabLeave| just before leaving a tab page
|
|
851
|
|
852 |VimResized| after the Vim window size changed (Yakov Lerner)
|
|
853
|
12
|
854
|
24
|
855 New items in search patterns: ~
|
|
856 |/\%d| \%d123 search for character with decimal number
|
|
857 |/\]| [\d123] idem, in a colletion
|
|
858 |/\%o| \%o103 search for character with octal number
|
|
859 |/\]| [\o1o3] idem, in a colletion
|
|
860 |/\%x| \%x1a search for character with 2 pos. hex number
|
|
861 |/\]| [\x1a] idem, in a colletion
|
|
862 |/\%u| \%u12ab search for character with 4 pos. hex number
|
|
863 |/\]| [\u12ab] idem, in a colletion
|
|
864 |/\%U| \%U1234abcd search for character with 8 pos. hex number
|
|
865 |/\]| [\U1234abcd] idem, in a colletion
|
|
866 (The above partly by Ciaran McCreesh)
|
640
|
867
|
237
|
868 |/[[=| [[=a=]] an equivalence class (only for latin1 characters)
|
|
869 |/[[.| [[.a.]] a collation element (only works with single char)
|
169
|
870
|
640
|
871 |/\%'m| \%'m match at mark m
|
|
872 |/\%<'m| \%<'m match before mark m
|
|
873 |/\%>'m| \%>'m match after mark m
|
|
874 |/\%V| \%V match in Visual area
|
|
875
|
169
|
876 Nesting |/multi| items no longer is an error when an empty match is possible.
|
|
877
|
|
878 It is now possible to use \{0}, it matches the preceding atom zero times. Not
|
|
879 useful, just for compatibility.
|
24
|
880
|
|
881
|
12
|
882 New Syntax/Indent/FTplugin files: ~
|
|
883
|
234
|
884 Moved all the indent settings from the filetype plugin to the indent file.
|
|
885 Implemented b:undo_indent to undo indent settings when setting 'filetype' to a
|
|
886 different value.
|
|
887
|
807
|
888 a2ps syntax and ftplugin file. (Nikolai Weibull)
|
|
889 ABAB/4 syntax file. (Marius van Wyk)
|
|
890 alsaconf ftplugin file. (Nikolai Weibull)
|
|
891 AppendMatchGroup ftplugin file. (Dave Silvia)
|
|
892 arch ftplugin file. (Nikolai Weibull)
|
|
893 asterisk and asteriskvm syntax file. (Tilghman Lesher)
|
|
894 BDF ftplugin file. (Nikolai Weibull)
|
|
895 BibTeX indent file. (Dorai Sitaram)
|
|
896 BTM ftplugin file. (Bram Moolenaar)
|
|
897 calendar ftplugin file. (Nikolai Weibull)
|
|
898 Changelog indent file. (Nikolai Weibull)
|
839
|
899 ChordPro syntax file. (Niels Bo Andersen)
|
836
|
900 Cmake indent and syntax file. (Andy Cedilnik)
|
807
|
901 conf ftplugin file. (Nikolai Weibull)
|
|
902 context syntax and ftplugin file. (Nikolai Weibull)
|
|
903 CRM114 ftplugin file. (Nikolai Weibull)
|
|
904 cvs RC ftplugin file. (Nikolai Weibull)
|
|
905 D indent file. (Jason Mills)
|
816
|
906 Debian Sources.list syntax file. (Matthijs Mohlmann)
|
807
|
907 dictconf and dictdconf syntax, indent and ftplugin files. (Nikolai Weibull)
|
|
908 diff ftplugin file. (Bram Moolenaar)
|
|
909 dircolors ftplugin file. (Nikolai Weibull)
|
|
910 django and htmldjango syntax file. (Dave Hodder)
|
832
|
911 doxygen syntax file. (Michael Geddes)
|
807
|
912 elinks ftplugin file. (Nikolai Weibull)
|
|
913 eterm ftplugin file. (Nikolai Weibull)
|
|
914 eviews syntax file. (Vaidotas Zemlys)
|
|
915 fetchmail RC ftplugin file. (Nikolai Weibull)
|
|
916 Generic indent file. (Dave Silvia)
|
|
917 gpg ftplugin file. (Nikolai Weibull)
|
|
918 gretl syntax file. (Vaidotas Zemlys)
|
|
919 groovy syntax file. (Alessio Pace)
|
|
920 group syntax and ftplugin file. (Nikolai Weibull)
|
|
921 grub ftplugin file. (Nikolai Weibull)
|
|
922 Haskell ftplugin file. (Nikolai Weibull)
|
|
923 help ftplugin file. (Nikolai Weibull)
|
|
924 indent ftplugin file. (Nikolai Weibull)
|
|
925 Javascript ftplugin file. (Bram Moolenaar)
|
826
|
926 Kconfig ftplugin and syntax file. (Nikolai Weibull)
|
807
|
927 ld syntax, indent and ftplugin file. (Nikolai Weibull)
|
|
928 lftp ftplugin file. (Nikolai Weibull)
|
|
929 libao config ftplugin file. (Nikolai Weibull)
|
|
930 limits syntax and ftplugin file. (Nikolai Weibull)
|
|
931 Lisp indent file. (Sergey Khorev)
|
|
932 loginaccess and logindefs syntax and ftplugin file. (Nikolai Weibull)
|
|
933 m4 ftplugin file. (Nikolai Weibull)
|
809
|
934 mailaliases syntax file. (Nikolai Weibull)
|
807
|
935 mailcap ftplugin file. (Nikolai Weibull)
|
|
936 manconf syntax and ftplugin file. (Nikolai Weibull)
|
|
937 matlab ftplugin file. (Jake Wasserman)
|
825
|
938 Maxima syntax file. (Robert Dodier)
|
684
|
939 MGL syntax file. (Gero Kuhlmann)
|
807
|
940 modconf ftplugin file. (Nikolai Weibull)
|
|
941 mplayer config ftplugin file. (Nikolai Weibull)
|
|
942 MuPAD source syntax, indent and ftplugin. (Dave Silvia)
|
|
943 mutt RC ftplugin file. (Nikolai Weibull)
|
|
944 nanorc syntax and ftplugin file. (Nikolai Weibull)
|
|
945 netrc ftplugin file. (Nikolai Weibull)
|
|
946 pamconf syntax and ftplugin file. (Nikolai Weibull)
|
|
947 Pascal indent file. (Neil Carter)
|
|
948 passwd syntax and ftplugin file. (Nikolai Weibull)
|
|
949 PHP compiler plugin. (Doug Kearns)
|
|
950 pinfo ftplugin file. (Nikolai Weibull)
|
816
|
951 plaintex syntax and ftplugin files. (Nikolai Weibull, Benji Fisher)
|
807
|
952 procmail ftplugin file. (Nikolai Weibull)
|
|
953 prolog ftplugin file. (Nikolai Weibull)
|
|
954 protocols syntax and ftplugin file. (Nikolai Weibull)
|
|
955 quake ftplugin file. (Nikolai Weibull)
|
|
956 racc syntax and ftplugin file. (Nikolai Weibull)
|
700
|
957 rd syntax file. (Johannes Ranke)
|
807
|
958 readline ftplugin file. (Nikolai Weibull)
|
|
959 rhelp syntax file. (Johannes Ranke)
|
836
|
960 rnoweb syntax file. (Johannes Ranke)
|
807
|
961 Relax NG compact ftplugin file. (Nikolai Weibull)
|
|
962 Scheme indent file. (Sergey Khorev)
|
|
963 screen ftplugin file. (Nikolai Weibull)
|
|
964 sensors syntax and ftplugin file. (Nikolai Weibull)
|
|
965 services syntax and ftplugin file. (Nikolai Weibull)
|
|
966 setserial syntax and ftplugin file. (Nikolai Weibull)
|
|
967 sieve syntax and ftplugin file. (Nikolai Weibull)
|
823
|
968 SiSU syntax file (Ralph Amissah)
|
807
|
969 Sive syntax file. (Nikolai Weibull)
|
|
970 slp config, reg and spi syntax and ftplugin files. (Nikolai Weibull)
|
|
971 SML indent file. (Saikat Guha)
|
|
972 SQL anywhere syntax and indent file. (David Fishburn)
|
|
973 SQL indent file.
|
|
974 SQL-Informix syntax file. (Dean L Hill)
|
|
975 SQL: Handling of various variants. (David Fishburn)
|
|
976 sshconfig ftplugin file. (Nikolai Weibull)
|
832
|
977 Stata and SMCL syntax files. (Jeff Pitblado)
|
807
|
978 sudoers ftplugin file. (Nikolai Weibull)
|
|
979 sysctl syntax and ftplugin file. (Nikolai Weibull)
|
|
980 terminfo ftplugin file. (Nikolai Weibull)
|
|
981 trustees syntax file. (Nima Talebi)
|
836
|
982 Vera syntax file. (David Eggum)
|
807
|
983 udev config, permissions and rules syntax and ftplugin files. (Nikolai Weibull)
|
|
984 updatedb syntax and ftplugin file. (Nikolai Weibull)
|
|
985 VHDL indent file (Gerald Lai)
|
|
986 WSML syntax file. (Thomas Haselwanter)
|
|
987 Xdefaults ftplugin file. (Nikolai Weibull)
|
|
988 XFree86 config ftplugin file. (Nikolai Weibull)
|
|
989 xinetd syntax, indent and ftplugin file. (Nikolai Weibull)
|
|
990 xmodmap ftplugin file. (Nikolai Weibull)
|
|
991 Xquery syntax file. (Jean-Marc Vanel)
|
|
992 xsd (XML schema) indent file.
|
|
993 YAML ftplugin file. (Nikolai Weibull)
|
|
994 Zsh ftplugin file. (Nikolai Weibull)
|
|
995
|
700
|
996
|
32
|
997 New Keymaps: ~
|
|
998
|
|
999 Sinhala (Sri Lanka) (Harshula Jayasuriya)
|
680
|
1000 Tamil in TSCII encoding (Yegappan Lakshmanan)
|
807
|
1001 Greek in cp737 (Panagiotis Louridas)
|
|
1002 Polish-slash (HS6_06)
|
|
1003 Ukrainian-jcuken (Anatoli Sakhnik)
|
680
|
1004
|
32
|
1005
|
23
|
1006 New message translations: ~
|
|
1007
|
|
1008 The Ukranian messages are now also available in cp1251.
|
170
|
1009 Vietnamese message translations and menu. (Phan Vinh Thinh)
|
|
1010
|
7
|
1011
|
10
|
1012 Others: ~
|
|
1013
|
819
|
1014 The |:read| command has the |++edit| argument. This means it will use the
|
|
1015 detected 'fileformat', 'fileencoding' and other options for the buffer. This
|
|
1016 also fixes the problem that editing a compressed file didn't set these
|
|
1017 options.
|
|
1018
|
716
|
1019 The Netbeans interface was updated for Sun Studio 10. The protocol number
|
|
1020 goes from 2.2 to 2.3. (Gordon Prieur)
|
|
1021
|
720
|
1022 Mac: When starting up Vim will load the $VIMRUNTIME/macmap.vim script to
|
761
|
1023 define default command-key mappings. (mostly by Benji Fisher)
|
720
|
1024
|
10
|
1025 Mac: Add the selection type to the clipboard, so that Block, line and
|
|
1026 character selections can be used between two Vims. (Eckehard Berns)
|
|
1027 Also fixes the problem that setting 'clipboard' to "unnamed" breaks using
|
|
1028 "yyp".
|
7
|
1029
|
557
|
1030 Mac: GUI font selector. (Peter Cucka)
|
13
|
1031
|
169
|
1032 Mac: support for multi-byte characters. (Da Woon Jung)
|
842
|
1033 This doesn't always work properly. If you see text drawing problems try
|
|
1034 switching the 'macatsui' option off.
|
169
|
1035
|
594
|
1036 Mac: Support the xterm mouse in the non-GUI version.
|
|
1037
|
|
1038 Mac: better integration with Xcode. Post a fake mouse-up event after the odoc
|
|
1039 event and the drag receive handler to work around a stall after Vim loads a
|
|
1040 file. Fixed an off-by-one line number error. (Da Woon Jung)
|
|
1041
|
816
|
1042 Mac: When started from Finder change directory to the file being edited or the
|
|
1043 user home directory.
|
|
1044
|
594
|
1045 Added the t_SI and t_EI escape sequences for starting and ending Insert mode.
|
69
|
1046 GUI font selector for Motif. (Marcin Dalecki)
|
46
|
1047
|
162
|
1048 Nicer toolbar buttons for Motif. (Marcin Dalecki)
|
|
1049
|
69
|
1050 Mnemonics for the Motif find/replace dialog. (Marcin Dalecki)
|
46
|
1051
|
36
|
1052 To be used to set the cursor shape to a bar or a block. No default values,
|
|
1053 they are not supported by termcap/terminfo.
|
|
1054
|
40
|
1055 Autocommands can be defined local to a buffer. This means they will also work
|
|
1056 when the buffer does not have a name or no specific name. See
|
|
1057 |autocmd-buflocal|. (Yakov Lerner)
|
|
1058
|
179
|
1059 For xterm most combinations of modifiers with function keys are recognized.
|
|
1060 |xterm-modifier-keys|
|
|
1061
|
481
|
1062 When 'verbose' is set the output of ":highlight" will show where a highlight
|
|
1063 item was last set.
|
502
|
1064 When 'verbose' is set the output of the ":map", ":abbreviate", ":command",
|
|
1065 ":function" and ":autocmd" commands will show where it was last defined.
|
|
1066 (Yegappan Lakshmanan)
|
481
|
1067
|
505
|
1068 ":function /pattern" lists functions matching the pattern.
|
|
1069
|
523
|
1070 "1gd" can be used like "gd" but ignores matches in a {} block that ends before
|
|
1071 the cursor position. Likewise for "1gD" and "gD".
|
|
1072
|
533
|
1073 'scrolljump' can be set to a negative number to scroll a percentage of the
|
|
1074 window height.
|
|
1075
|
541
|
1076 The |v:scrollstart| variable has been added to help finding the location in
|
|
1077 your script that causes the hit-enter prompt.
|
|
1078
|
591
|
1079 To make it possible to handle the situation that a file is being edited that
|
|
1080 is already being edited by another Vim instance, the |SwapExists| event has
|
|
1081 been added. The |v:swapname|, |v:swapchoice| and |v:swapcommand| variables
|
|
1082 can be used, for example to use the |client-server| functionality to bring the
|
|
1083 other Vim to the foreground.
|
604
|
1084 When starting Vim with a "-t tag" argument, there is an existing swapfile and
|
|
1085 the user selects "quit" or "abort" then exit Vim.
|
591
|
1086
|
693
|
1087 Undo now also restores the '< and '> marks. "gv" selects the same area as
|
|
1088 before the change and undo.
|
|
1089
|
774
|
1090 When editing a search pattern for a "/" or "?" command and 'incsearch' is set
|
|
1091 CTRL-L can be used to add a character from the current match. CTRL-R CTRL-W
|
|
1092 will add a word, but exclude the part of the word that was already typed.
|
|
1093
|
782
|
1094 Ruby interface: add line number methods. (Ryan Paul)
|
|
1095
|
819
|
1096 The $MYVIMRC environment variable is set to the first found vimrc file.
|
|
1097 The $MYGVIMRC environment variable is set to the first found gvimrc file.
|
|
1098
|
7
|
1099 ==============================================================================
|
|
1100 IMPROVEMENTS *improvements-7*
|
|
1101
|
10
|
1102 ":helpgrep" accepts a language specifier after the pattern: "pat@it".
|
|
1103
|
15
|
1104 Move the help for printing to a separate help file. It's quite a lot now.
|
|
1105
|
716
|
1106 When doing completion for ":!cmd", ":r !cmd" or ":w !cmd" executable files are
|
|
1107 found in $PATH instead of looking for ordinary files in the current directlry.
|
|
1108
|
557
|
1109 When ":silent" is used and a backwards range is given for an Ex command the
|
|
1110 range is swapped automatically instead of asking if that is OK.
|
|
1111
|
181
|
1112 The pattern matching code was changed from a recursive function to an
|
|
1113 iterative mechanism. This avoids out-of-stack errors. State is stored in
|
|
1114 allocated memory, running out of memory can always be detected. Allows
|
|
1115 matching more complex things, but Vim may seem to hang while doing that.
|
|
1116
|
634
|
1117 Previously some options were always evaluated in the |sandbox|. Now that only
|
|
1118 happens when the option was set from a modeline or in secure mode. Applies to
|
|
1119 'balloonexpr', 'foldexpr', 'foldtext' and 'includeexpr'. (Sumner Hayes)
|
|
1120
|
|
1121 Some commands and expressions could have nasty side effects, such as using
|
|
1122 CTRL-R = while editing a search pattern and the expression invokes a function
|
|
1123 that jumps to another window. The |textlock| has been added to prevent this
|
|
1124 from happening.
|
|
1125
|
10
|
1126 ":breakadd here" and ":breakdel here" can be used to set or delete a
|
|
1127 breakpoint at the cursor.
|
|
1128
|
673
|
1129 It is now possible to define a function with: >
|
|
1130 :exe "func Test()\n ...\n endfunc"
|
|
1131
|
11
|
1132 The tutor was updated to make it simpler to use and added text to explain a
|
|
1133 few more important commands. Used ideas from Gabriel Zachmann.
|
7
|
1134
|
12
|
1135 Unix: When libcall() fails obtain an error message with dlerror() and display
|
|
1136 it. (Johannes Zellner)
|
|
1137
|
587
|
1138 Mac and Cygwin: When editing an existing file make the file name the same case
|
|
1139 of the edited file. Thus when typing ":e os_UNIX.c" the file name becomes
|
|
1140 "os_unix.c".
|
|
1141
|
13
|
1142 Added "nbsp" in 'listchars'. (David Blanchet)
|
|
1143
|
17
|
1144 Added the "acwrite" value for the 'buftype' option. This is for a buffer that
|
557
|
1145 does not have a name that refers to a file and is written with BufWriteCmd
|
17
|
1146 autocommands.
|
|
1147
|
14
|
1148 For lisp indenting and matching parenthesis: (Sergey Khorev)
|
|
1149 - square brackets are recognized properly
|
|
1150 - #\(, #\), #\[ and #\] are recognized as character literals
|
|
1151 - Lisp line comments (delimited by semicolon) are recognized
|
|
1152
|
19
|
1153 Added the "count" argument to match(), matchend() and matchstr(). (Ilya Sher)
|
|
1154
|
20
|
1155 winnr() takes an optional "$" and "#" arguments. (Nikolai Weibull, Yegappan
|
|
1156 Lakshmanan)
|
|
1157
|
713
|
1158 Added 's' flag to search(): set ' mark if cursor moved. (Yegappan Lakshmanan)
|
20
|
1159 Added 'n' flag to search(): don't move the cursor. (Nikolai Weibull)
|
713
|
1160 Added 'c' flag to search(): accept match at the cursor.
|
|
1161 Added 'e' flag to search(): move to end of the match. (Benji Fisher)
|
|
1162 Added 'p' flag to search(): return number of sub-pattern. (Benji Fisher)
|
|
1163 These also apply to searchpos(), searchpair() and searchpairpos().
|
|
1164 The search() and searchpair() functions have an extra argument to specify
|
|
1165 where to stop searching. Speeds up searches that should not continue too far.
|
20
|
1166
|
22
|
1167 When uncompressing fails in the gzip plugin, give an error message but don't
|
|
1168 delete the raw text. Helps if the file has a .gz extension but is not
|
|
1169 actually compressed. (Andrew Pimlott)
|
|
1170
|
|
1171 When C, C++ or IDL syntax is used, may additionally load doxygen syntax.
|
|
1172 (Michael Geddes)
|
|
1173
|
782
|
1174 Support setting 'filetype' and 'syntax' to "aaa.bbb" for "aaa" plus "bbb"
|
|
1175 filetype or syntax.
|
|
1176
|
22
|
1177 The ":registers" command now displays multi-byte characters properly.
|
|
1178
|
|
1179 VMS: In the usage message mention that a slash can be used to make a flag
|
|
1180 upper case. Add color support to the builtin vt320 terminal codes.
|
|
1181 (Zoltan Arpadffy)
|
|
1182
|
23
|
1183 For the '%' item in 'viminfo', allow a number to set a maximum for the number
|
|
1184 of buffers.
|
|
1185
|
26
|
1186 When a file looks like a shell script, check for an "exec" command that starts
|
|
1187 the tcl interpreter. (suggested by Alexios Zavras)
|
|
1188
|
|
1189 Support conversion between utf-8 and latin9 (iso-8859-15) internally, so that
|
|
1190 digraphs still work when iconv is not available.
|
|
1191
|
36
|
1192 When a session file is loaded while editing an unnamed, empty buffer that
|
|
1193 buffer is wiped out. Avoids that there is an unused buffer in the buffer
|
|
1194 list.
|
|
1195
|
|
1196 Win32: When libintl.dll supports bind_textdomain_codeset(), use it.
|
|
1197 (NAKADAIRA Yukihiro)
|
|
1198
|
697
|
1199 Win32: Vim was not aware of hard links on NTFS file systems. These are
|
|
1200 detected now for when 'backupcopy' is "auto". Also fixed a bogus "file has
|
|
1201 been changed since reading it" error for links.
|
|
1202
|
36
|
1203 When foldtext() finds no text after removing the comment leader, use the
|
|
1204 second line of the fold. Helps for C-style /* */ comments where the first
|
|
1205 line is just "/*".
|
|
1206
|
39
|
1207 When editing the same file from two systems (e.g., Unix and MS-Windows) there
|
|
1208 mostly was no warning for an existing swap file, because the name of the
|
|
1209 edited file differs (e.g., y:\dir\file vs /home/me/dir/file). Added a flag to
|
|
1210 the swap file to indicate it is in the same directory as the edited file. The
|
|
1211 used path then doesn't matter and the check for editing the same file is much
|
|
1212 more reliable.
|
|
1213
|
594
|
1214 Unix: When editing a file through a symlink the swap file would use the name
|
|
1215 of the symlink. Now use the name of the actual file, so that editing the same
|
|
1216 file twice is detected. (suggestions by Stefano Zacchiroli and James Vega)
|
|
1217
|
39
|
1218 Client-server communication now supports 'encoding'. When setting 'encoding'
|
|
1219 in a Vim server to "utf-8", and using "vim --remote fname" in a console,
|
|
1220 "fname" is converted from the console encoding to utf-8. Also allows Vims
|
|
1221 with different 'encoding' settings to exchange messages.
|
|
1222
|
41
|
1223 Internal: Changed ga_room into ga_maxlen, so that it doesn't need to be
|
|
1224 incremented/decremented each time.
|
|
1225
|
69
|
1226 Included a few improvements for Motif from Marcin Dalecki. Draw label
|
46
|
1227 contents ourselves to make them handle fonts in a way configurable by Vim and
|
|
1228 a bit less dependent on the X11 font management.
|
|
1229
|
56
|
1230 When a register is empty it is not stored in the viminfo file.
|
|
1231
|
100
|
1232 Removed the tcltags script, it's obsolete.
|
|
1233
|
284
|
1234 ":redir @*>>" and ":redir @+>>" append to the clipboard. Better check for
|
169
|
1235 invalid characters after the register name. |:redir|
|
|
1236
|
|
1237 ":redir => variable" and ":redir =>> variable" write or append to a variable.
|
|
1238 (Yegappan Lakshmanan) |:redir|
|
123
|
1239
|
445
|
1240 ":redir @{a-z}>>" appends to register a to z. (Yegappan Lakshmanan)
|
284
|
1241
|
294
|
1242 The 'verbosefile' option can be used to log messages in a file. Verbose
|
|
1243 messages are not displayed then. The "-V{filename}" argument can be used to
|
|
1244 log startup messages.
|
|
1245
|
123
|
1246 ":let g:" lists global variables.
|
|
1247 ":let b:" lists buffer-local variables.
|
|
1248 ":let w:" lists window-local variables.
|
|
1249 ":let v:" lists Vim variables.
|
|
1250
|
149
|
1251 The stridx() and strridx() functions take a third argument, where to start
|
|
1252 searching. (Yegappan Lakshmanan)
|
136
|
1253
|
284
|
1254 The getreg() function takes an extra argument to be able to get the expression
|
|
1255 for the '=' register instead of the result of evaluating it.
|
|
1256
|
|
1257 The setline() function can take a List argument to set multiple lines. When
|
|
1258 the line number is just below the last line the line is appended.
|
|
1259
|
162
|
1260 g CTRL-G also shows the number of characters if it differs from the number of
|
|
1261 bytes.
|
|
1262
|
169
|
1263 Completion for ":debug" and entering an expression for the '=' register. Skip
|
|
1264 ":" between range and command name. (Peter winters)
|
|
1265
|
|
1266 CTRL-Q in Insert mode now works like CTRL-V by default. Previously it was
|
|
1267 ignored.
|
|
1268
|
|
1269 When "beep" is included in 'debug' a function or script that causes a beep
|
|
1270 will result in a message with the source of the error.
|
|
1271
|
170
|
1272 When completing buffer names, match with "\(^\|[\/]\)" instead of "^", so that
|
|
1273 ":buf stor<Tab>" finds both "include/storage.h" and "storage/main.c".
|
|
1274
|
|
1275 To count items (pattern matches) without changing the buffer the 'n' flag has
|
|
1276 been added to |:substitute|. See |count-items|.
|
|
1277
|
774
|
1278 In a |:substitute| command the \u, \U, \l and \L items now also work for
|
|
1279 multi-byte characters.
|
|
1280
|
175
|
1281 The "screen.linux" $TERM name is recognized to set the default for
|
534
|
1282 'background' to "dark". (Ciaran McCreesh) Also for "cygwin" and "putty".
|
179
|
1283
|
|
1284 The |FileChangedShell| autocommand event can now use the |v:fcs_reason|
|
|
1285 variable that specifies what triggered the event. |v:fcs_choice| can be used
|
|
1286 to reload the buffer or ask the user what to do.
|
175
|
1287
|
181
|
1288 Not all modifiers were recognized for xterm function keys. Added the
|
|
1289 possibility in term codes to end in ";*X" or "O*X", where X is any character
|
|
1290 and the * stands for the modifier code.
|
|
1291 Added the <xUp>, <xDown>, <xLeft> and <xRight> keys, to be able to recognize
|
|
1292 the two forms that xterm can send their codes in and still handle all possible
|
|
1293 modifiers.
|
|
1294
|
218
|
1295 getwinvar() now also works to obtain a buffer-local option from the specified
|
|
1296 window.
|
|
1297
|
234
|
1298 Added the "%s" item to 'errorformat'. (Yegappan Lakshmanan)
|
791
|
1299 Added the "%>" item to 'errorformat'.
|
|
1300
|
|
1301 For 'errorformat' it was not possible to have a file name that contains the
|
|
1302 character that follows after "%f". For example, in "%f:%l:%m" the file name
|
|
1303 could not contain ":". Now include the first ":" where the rest of the
|
|
1304 pattern matches. In the example a ":" not followed by a line number is
|
|
1305 included in the file name. (suggested by Emanuele Giaquinta)
|
234
|
1306
|
271
|
1307 GTK GUI: use the GTK file dialog when it's available. Mix from patches by
|
|
1308 Grahame Bowland and Evan Webb.
|
|
1309
|
323
|
1310 Added ":scriptnames" to bugreport.vim, so that we can see what plugins were
|
|
1311 used.
|
|
1312
|
333
|
1313 Win32: If the user changes the setting for the number of lines a scroll wheel
|
|
1314 click scrolls it is now used immediately. Previously Vim would need to be
|
|
1315 restarted.
|
|
1316
|
337
|
1317 When using @= in an expression the value is expression @= contains. ":let @=
|
|
1318 = value" can be used to set the register contents.
|
|
1319
|
404
|
1320 A ! can be added to ":popup" to have the popup menu appear at the mouse
|
|
1321 pointer position instead of the text cursor.
|
|
1322
|
408
|
1323 The table with encodings has been expanded with many MS-Windows codepages,
|
|
1324 such as cp1250 and cp737, so that these can also be used on Unix without
|
|
1325 prepending "8bit-".
|
481
|
1326 When an encoding name starts with "microsoft-cp" ignore the "microsoft-" part.
|
408
|
1327
|
|
1328 Added the "customlist" completion argument to a user-defined command. The
|
|
1329 user-defined completion function should return the completion candidates as a
|
445
|
1330 Vim List and the returned results are not filtered by Vim. (Yegappan
|
|
1331 Lakshmanan)
|
408
|
1332
|
436
|
1333 Win32: Balloons can have multiple lines if common controls supports it.
|
|
1334 (Sergey Khorev)
|
|
1335
|
480
|
1336 For command-line completion the matches for various types of arguments are now
|
|
1337 sorted: user commands, variables, syntax names, etc.
|
|
1338
|
494
|
1339 When no locale is set, thus using the "C" locale, Vim will work with latin1
|
557
|
1340 characters, using its own isupper()/toupper()/etc. functions.
|
494
|
1341
|
500
|
1342 When using an rxvt terminal emulator guess the value of 'background' using the
|
|
1343 COLORFGBG environment variable. (Ciaran McCreesh)
|
|
1344
|
|
1345 Also support t_SI and t_EI on Unix with normal features. (Ciaran McCreesh)
|
|
1346
|
520
|
1347 When 'foldcolumn' is one then put as much info in it as possible. This allows
|
|
1348 closing a fold with the mouse by clicking on the '-'.
|
|
1349
|
531
|
1350 input() takes an optional completion argument to specify the type of
|
|
1351 completion supported for the input. (Yegappan Lakshmanan)
|
|
1352
|
533
|
1353 "dp" works with more than two buffers in diff mode if there is only one where
|
|
1354 'modifiable' is set.
|
|
1355
|
769
|
1356 The 'diffopt' option has three new values: "horizontal", "vertical" and
|
|
1357 "foldcolumn".
|
|
1358
|
538
|
1359 When the 'include' option contains \zs the file name found is what is being
|
|
1360 matched from \zs to the end or \ze. Useful to pass more to 'includeexpr'.
|
|
1361
|
541
|
1362 Loading plugins on startup now supports subdirectories in the plugin
|
|
1363 directory. |load-plugins|
|
|
1364
|
548
|
1365 In the foldcolumn always show the '+' for a closed fold, so that it can be
|
|
1366 opened easily. It may overwrite another character, esp. if 'foldcolumn' is 1.
|
|
1367
|
|
1368 It is now possible to get the W10 message again by setting 'readonly'. Useful
|
|
1369 in the FileChangedRO autocommand when checking out the file fails.
|
|
1370
|
552
|
1371 Unix: When open() returns EFBIG give an appropriate message.
|
|
1372
|
575
|
1373 ":mksession" sets the SessionLoad variable to notify plugins. A modeline is
|
|
1374 added to the session file to set 'filetype' to "vim".
|
|
1375
|
580
|
1376 In the ATTENTION prompt put the "Delete it" choice before "Quit" to make it
|
|
1377 more logical. (Robert Webb)
|
|
1378
|
591
|
1379 When appending to a file while the buffer has no name the name of the appended
|
|
1380 file would be used for the current buffer. But the buffer contents is
|
|
1381 actually different from the file content. Don't set the file name, unless the
|
|
1382 'P' flag is present in 'cpoptions'.
|
|
1383
|
594
|
1384 When starting to edit a new file and the directory for the file doesn't exist
|
|
1385 then Vim will report "[New DIRECTORY]" instead of "[New File] to give the user
|
|
1386 a hint that something might be wrong.
|
|
1387
|
601
|
1388 Win32: Preserve the hidden attribute of the viminfo file.
|
|
1389
|
604
|
1390 In Insert mode CTRL-A didn't keep the last inserted text when using CTRL-O and
|
|
1391 then a cursor key. Now keep the previously inserted text if nothing is
|
|
1392 inserted after the CTRL-O. Allows using CTRL-O commands to move the cursor
|
|
1393 without losing the last inserted text.
|
601
|
1394
|
615
|
1395 The exists() function now supports checking for autocmd group definition
|
619
|
1396 and for supported autocommand events. (Yegappan Lakshmanan)
|
613
|
1397
|
625
|
1398 Allow using ":global" in the sandbox, it doesn't do anything harmful by
|
|
1399 itself.
|
|
1400
|
634
|
1401 ":saveas asdf.c" will set 'filetype' to c when it's empty. Also for ":w
|
|
1402 asdf.c" when it sets the filename for the buffer.
|
|
1403
|
667
|
1404 Insert mode completion for whole lines now also searches unloaded buffers.
|
634
|
1405
|
671
|
1406 The colortest.vim script can now be invoked directly with ":source" or
|
|
1407 ":runtime".
|
|
1408
|
681
|
1409 The 'statusline' option can be local to the window, so that each window can
|
|
1410 have a different value. (partly by Yegappan Lakshmanan)
|
|
1411
|
680
|
1412 The 'statusline' option and other options that support the same format can now
|
|
1413 use these new features:
|
|
1414 - When it starts with "%!" the value is first evaluated as an expression
|
|
1415 before parsing the value.
|
|
1416 - "%#HLname#" can be used to start highlighting with HLname.
|
|
1417
|
681
|
1418 When 'statusline' is set to something that causes an error message then it is
|
|
1419 made empty to avoid an endless redraw loop. Also for other options, such at
|
774
|
1420 'tabline' and 'titlestring'. ":verbose set statusline" will mention that it
|
|
1421 was set in an error handler.
|
681
|
1422
|
685
|
1423 When there are several matching tags, the ":tag <name>" and CTRL-] commands
|
|
1424 jump to the [count] matching tag. (Yegappan Lakshmanan)
|
|
1425
|
782
|
1426 Win32: In the batch files generated by the install program, use $VIMRUNTIME or
|
|
1427 $VIM if it's set. Example provided by Mathias Michaelis.
|
|
1428 Also create a vimtutor.bat batch file.
|
685
|
1429
|
791
|
1430 The 'balloonexpr' option is now |global-local|.
|
|
1431
|
795
|
1432 The system() function now runs in cooked mode, thus can be interrupted by
|
|
1433 CTRL-C.
|
|
1434
|
7
|
1435 ==============================================================================
|
|
1436 COMPILE TIME CHANGES *compile-changes-7*
|
|
1437
|
69
|
1438 Dropped the support for the BeOS and Amiga GUI. They were not maintained and
|
|
1439 probably didn't work. If you want to work on this: get the Vim 6.x version
|
|
1440 and merge it back in.
|
|
1441
|
169
|
1442 When running the tests and one of them fails to produce "test.out" the
|
|
1443 following tests are still executed. This helps when running out of memory.
|
|
1444
|
359
|
1445 When compiling with EXITFREE defined and the ccmalloc library it is possible
|
|
1446 to detect memory leaks. Some memory will always reported as leaked, such as
|
|
1447 allocated by X11 library functions and the memory allocated in alloc_cmdbuff()
|
|
1448 to store the ":quit" command.
|
|
1449
|
445
|
1450 Moved the code for printing to src/hardcopy.c.
|
|
1451
|
|
1452 Moved some code from main() to separate functions to make it easier to see
|
|
1453 what is being done. Use a structure to avoid a lot of arguments to the
|
|
1454 functions.
|
|
1455
|
|
1456 Moved unix_expandpath() to misc1.c, so that it can also be used by os_mac.c
|
|
1457 without copying the code.
|
|
1458
|
714
|
1459 --- Mac ---
|
|
1460
|
|
1461 "make" now creates the Vim.app directory and "make install" copies it to its
|
|
1462 final destination. (Raf)
|
|
1463
|
769
|
1464 Put the runtime directory not directly in Vim.app but in
|
|
1465 Vim.app/Contents/Resources/vim, so that it's according to Mac specs.
|
|
1466
|
714
|
1467 Made it possible to compile with Motif, Athena or GTK without tricks and still
|
|
1468 being able to use the MacRoman conversion. Added the os_mac_conv.c file.
|
|
1469
|
|
1470 When running "make install" the runtime files are installed as for Unix.
|
502
|
1471 Avoids that too many files are copied. When running "make" a link to the
|
|
1472 runtime files is created to avoid a recursive copy that takes much time.
|
|
1473
|
714
|
1474 Configure will attempt to build Vim for both Intel and PowerPC. The
|
693
|
1475 --with-mac-arch configure argument can change it.
|
|
1476
|
714
|
1477 --- Win32 ---
|
|
1478
|
|
1479 The Make_mvc.mak file was adjusted to work with the latest MS compilers,
|
|
1480 including the free version of Visual Studio 2005. (George Reilly)
|
|
1481
|
|
1482 INSTALLpc.txt was updated for the recent changes. (George Reilly)
|
|
1483
|
|
1484 The distributed executable is now produced with the free Visual C++ Toolkit
|
|
1485 2003 and other free SDK chunks. msvcsetup.bat was added to support this.
|
|
1486
|
|
1487 Also generate the .pdb file that can be used to generate a useful crash report
|
|
1488 on MS-Windows. (George Reilly)
|
|
1489
|
7
|
1490 ==============================================================================
|
|
1491 BUG FIXES *bug-fixes-7*
|
|
1492
|
10
|
1493 When using PostScript printing on MS-DOS the default 'printexpr' used "lpr"
|
|
1494 instead of "copy". When 'printdevice' was empty the copy command did not
|
|
1495 work. Use "LPT1" then.
|
|
1496
|
|
1497 The GTK font dialog uses a font size zero when the font name doesn't include a
|
|
1498 size. Use a default size of 10.
|
|
1499
|
|
1500 This example in the documentation didn't work:
|
|
1501 :e `=foo . ".c" `
|
|
1502 Skip over the expression in `=expr` when looking for comments, |, % and #.
|
|
1503
|
|
1504 When ":helpgrep" doesn't find anything there is no error message.
|
|
1505
|
|
1506 "L" and "H" did not take closed folds into account.
|
|
1507
|
|
1508 Win32: The "-P title" argument stopped at the first title that matched, even
|
|
1509 when it doesn't support MDI.
|
|
1510
|
|
1511 Mac GUI: CTRL-^ and CTRL-@ did not work.
|
|
1512
|
|
1513 "2daw" on "word." at the end of a line didn't include the preceding white
|
|
1514 space.
|
|
1515
|
|
1516 Win32: Using FindExecutable() doesn't work to find a program. Use
|
|
1517 SearchPath() instead. For executable() use $PATHEXT when the program searched
|
|
1518 for doesn't have an extension.
|
|
1519
|
|
1520 When 'virtualedit' is set, moving the cursor up after appending a character
|
|
1521 may move it to a different column. Was caused by auto-formatting moving the
|
|
1522 cursor and not putting it back where it was.
|
|
1523
|
|
1524 When indent was added automatically and then moving the cursor, the indent was
|
|
1525 not deleted (like when pressing ESC). The "I" flag in 'cpoptions' can be used
|
|
1526 to make it work the old way.
|
|
1527
|
|
1528 When opening a command-line window, 'textwidth' gets set to 78 by the Vim
|
|
1529 filetype plugin. Reset 'textwidth' to 0 to avoid lines are broken.
|
|
1530
|
|
1531 After using cursor(line, col) moving up/down doesn't keep the same column.
|
|
1532
|
|
1533 Win32: Borland C before 5.5 requires using ".u." for LowPart and HighPart
|
|
1534 fields. (Walter Briscoe)
|
7
|
1535
|
11
|
1536 On Sinix SYS_NMLN isn't always defined. Define it ourselves. (Cristiano De
|
|
1537 Michele)
|
|
1538
|
14
|
1539 Printing with PostScript may keep the printer waiting for more. Append a
|
|
1540 CTRL-D to the printer output. (Mike Williams)
|
|
1541
|
16
|
1542 When converting a string with a hex or octal number the leading '-' was
|
|
1543 ignored. ":echo '-05' + 0" resulted in 5 instead of -5.
|
|
1544
|
|
1545 Using "@:" to repeat a command line didn't work when it contains control
|
480
|
1546 characters. Also remove "'<,'>" when in Visual mode to avoid that it appears
|
|
1547 twice.
|
16
|
1548
|
17
|
1549 When using file completion for a user command, it would not expand environment
|
|
1550 variables like for a regular command with a file argument.
|
|
1551
|
|
1552 'cindent': When the argument of a #define looks like a C++ class the next line
|
|
1553 is indented too much.
|
|
1554
|
|
1555 When 'comments' includes multi-byte characters inserting the middle part and
|
|
1556 alignment may go wrong. 'cindent' also suffers from this for right-aligned
|
|
1557 items.
|
|
1558
|
170
|
1559 Win32: when 'encoding' is set to "utf-8" getenv() still returns strings in the
|
|
1560 active codepage. Convert to utf-8. Also for $HOME.
|
|
1561
|
18
|
1562 The default for 'helplang' was "zh" for both "zh_cn" and "zh_tw". Now use
|
|
1563 "cn" or "tw" as intended.
|
|
1564
|
20
|
1565 When 'bin' is set and 'eol' is not set then line2byte() added the line break
|
|
1566 after the last line while it's not there.
|
|
1567
|
|
1568 Using foldlevel() in a WinEnter autocommand may not work. Noticed when
|
|
1569 resizing the GUI shell upon startup.
|
|
1570
|
|
1571 Python: Using buffer.append(f.readlines()) didn't work. Allow appending a
|
|
1572 string with a trailing newline. The newline is ignored.
|
|
1573
|
21
|
1574 When using the ":saveas f2" command for buffer "f1", the Buffers menu would
|
|
1575 contain "f2" twice, one of them leading to "f1". Also trigger the BufFilePre
|
|
1576 and BufFilePost events for the alternate buffer that gets the old name.
|
|
1577
|
22
|
1578 strridx() did not work well when the needle is empty. (Ciaran McCreesh)
|
|
1579
|
|
1580 GTK: Avoid a potential hang in gui_mch_wait_for_chars() when input arrives
|
|
1581 just before it is invoked
|
|
1582
|
|
1583 VMS: Occasionally CR characters were inserted in the file. Expansion of
|
|
1584 environment variables was not correct. (Zoltan Arpadffy)
|
|
1585
|
|
1586 UTF-8: When 'delcombine' is set "dw" only deleted the last combining character
|
|
1587 from the first character of the word.
|
|
1588
|
|
1589 When using ":sball" in an autocommand only the filetype in one buffer was
|
|
1590 detected. Reset did_filetype in enter_buffer().
|
|
1591
|
|
1592 When using ":argdo" and the window already was at the first argument index,
|
|
1593 but not actually editing it, the current buffer would be used instead.
|
|
1594
|
23
|
1595 When ":next dir/*" includes many matches, adding the names to the argument
|
|
1596 list may take an awful lot of time and can't be interrupted. Allow
|
|
1597 interrupting this.
|
|
1598
|
|
1599 When editing a file that was already loaded in a buffer, modelines were not
|
|
1600 used. Now window-local options in the modeline are set. Buffer-local options
|
|
1601 and global options remain unmodified.
|
|
1602
|
|
1603 Win32: When 'encoding' is set to "utf-8" in the vimrc file, files from the
|
|
1604 command line with non-ASCII characters are not used correctly. Recode the
|
|
1605 file names when 'encoding' is set, using the Unicode command line.
|
|
1606
|
24
|
1607 Win32 console: When the default for 'encoding' ends up to be "latin1", the
|
|
1608 default value of 'isprint' was wrong.
|
|
1609
|
|
1610 When an error message is given while waiting for a character (e.g., when an
|
|
1611 xterm reports the number of colors), the hit-enter prompt overwrote the last
|
|
1612 line. Don't reset msg_didout in normal_cmd() for K_IGNORE.
|
|
1613
|
26
|
1614 Mac GUI: Shift-Tab didn't work.
|
|
1615
|
|
1616 When defining tooltip text, don't translate terminal codes, since it's not
|
|
1617 going to be used like a command.
|
|
1618
|
|
1619 GTK 2: Check the tooltip text for valid utf-8 characters to avoid getting a
|
|
1620 GTK error. Invalid characters may appear when 'encoding' is changed.
|
|
1621
|
|
1622 GTK 2: Add a safety check for invalid utf-8 sequences, they can crash pango.
|
|
1623
|
|
1624 Win32: When 'encoding' is changed while starting up, use the Unicode command
|
|
1625 line to convert the file arguments to 'encoding'. Both for the GUI and the
|
|
1626 console version.
|
|
1627
|
|
1628 Win32 GUI: latin9 text (iso-8859-15) was not displayed correctly, because
|
|
1629 there is no codepage for latin9. Do our own conversion from latin9 to UCS2.
|
|
1630
|
29
|
1631 When two versions of GTK+ 2 are installed it was possible to use the header
|
|
1632 files from one and the library from the other. Use GTK_LIBDIR to put the
|
|
1633 directory for the library early in the link flags.
|
|
1634
|
|
1635 With the GUI find/replace dialog a replace only worked if the pattern was
|
|
1636 literal text. Now it works for any pattern.
|
|
1637
|
36
|
1638 When 'equalalways' is set and 'eadirection' is "hor", ":quit" would still
|
|
1639 cause equalizing window heights in the vertical direction.
|
|
1640
|
|
1641 When ":emenu" is used in a startup script the command was put in the typeahead
|
|
1642 buffer, causing a prompt for the crypt key to be messed up.
|
|
1643
|
|
1644 Mac OS/X: The default for 'isprint' included characters 128-160, causes
|
|
1645 problems for Terminal.app.
|
|
1646
|
|
1647 When a syntax item with "containedin" is used, it may match in the start or
|
|
1648 end of a region with a matchgroup, while this doesn't happen for a "contains"
|
|
1649 argument.
|
|
1650
|
|
1651 When a transparent syntax items matches in another item where the highlighting
|
|
1652 has already stopped (because of a he= argument), the highlighting would come
|
|
1653 back.
|
|
1654
|
|
1655 When cscope is used to set the quickfix error list, it didn't get set if there
|
|
1656 was only one match. (Sergey Khorev)
|
|
1657
|
|
1658 When 'confirm' is set and using ":bdel" in a modified buffer, then selecting
|
|
1659 "cancel", would still give an error message.
|
|
1660
|
|
1661 The PopUp menu items that started Visual mode didn't work when not in Normal
|
|
1662 mode. Switching between selecting a word and a line was not possible.
|
|
1663
|
|
1664 Win32: The keypad decimal point always resulted in a '.', while on some
|
|
1665 keyboards it's a ','. Use MapVirtualKey(VK_DECIMAL, 2).
|
|
1666
|
|
1667 Removed unused function DisplayCompStringOpaque() from gui_w32.c
|
|
1668
|
|
1669 In Visual mode there is not always an indication whether the line break is
|
|
1670 selected or not. Highlight the character after the line when the line break
|
|
1671 is included, e.g., after "v$o".
|
|
1672
|
|
1673 GTK: The <F10> key can't be mapped, it selects the menu. Disable that with a
|
|
1674 GTK setting and do select the menu when <F10> isn't mapped. (David Necas)
|
|
1675
|
|
1676 After "Y" '[ and '] were not at start/end of the yanked text.
|
|
1677
|
|
1678 When a telnet connection is dropped Vim preserves files and exits. While
|
|
1679 doing that a SIGHUP may arrive and disturbe us, thus ignore it. (Scott
|
38
|
1680 Anderson) Also postpone SIGHUP, SIGQUIT and SIGTERM until it's safe to
|
|
1681 handle. Added handle_signal().
|
|
1682
|
39
|
1683 When completing a file name on the command line backslashes are required for
|
|
1684 white space. Was only done for a space, not for a Tab.
|
|
1685
|
|
1686 When configure could not find a terminal library, compiling continued for a
|
|
1687 long time before reporting the problem. Added a configure check for tgetent()
|
|
1688 being found in a library.
|
|
1689
|
|
1690 When the cursor is on the first char of the last line a ":g/pat/s///" command
|
|
1691 may cause the cursor to be displayed below the text.
|
|
1692
|
|
1693 Win32: Editing a file with non-ASCII characters doesn't work when 'encoding'
|
|
1694 is "utf-8". use _wfullpath() instead of _fullpath(). (Yu-sung Moon)
|
|
1695
|
|
1696 When recovering the 'fileformat' and 'fileencoding' were taken from the
|
|
1697 original file instead of from the swapfile. When the file didn't exist, was
|
|
1698 empty or the option was changed (e.g., with ":e ++fenc=cp123 file") it could
|
|
1699 be wrong. Now store 'fileformat' and 'fileencoding' in the swapfile and use
|
|
1700 the values when recovering.
|
|
1701
|
|
1702 ":bufdo g/something/p" overwrites each last printed text line with the file
|
|
1703 message for the next buffer. Temporarily clear 'shortmess' to avoid that.
|
|
1704
|
40
|
1705 Win32: Cannot edit a file starting with # with --remote. Do escape % and #
|
|
1706 when building the ":drop" command.
|
|
1707
|
41
|
1708 A comment or | just after a expresion-backtick argument was not recognized.
|
|
1709 E.g. in :e `="foo"`"comment.
|
|
1710
|
46
|
1711 "(" does not stop at an empty sentence (single dot and white space) while ")"
|
|
1712 does. Also breaks "das" on that dot.
|
|
1713
|
|
1714 When doing "yy" with the cursor on a TAB the ruler could be wrong and "k"
|
|
1715 moved the cursor to another column.
|
|
1716
|
|
1717 When 'commentstring' is '"%s' and there is a double quote in the line a double
|
|
1718 quote before the fold marker isn't removed in the text displayed for a closed
|
|
1719 fold.
|
|
1720
|
|
1721 In Visual mode, when 'bin' and 'eol' set, g CTRL-G counted the last line
|
|
1722 break, resulting in "selected 202 of 201 bytes".
|
|
1723
|
69
|
1724 Motif: fonts were not used for dialog components. (Marcin Dalecki)
|
46
|
1725
|
56
|
1726 Motif: After using a toolbar button the keyboard focus would be on the toolbar
|
69
|
1727 (Lesstif problem). (Marcin Dalecki)
|
56
|
1728
|
51
|
1729 When using "y<C-V>`x" where mark x is in the first column, the last line was
|
|
1730 not included.
|
|
1731
|
|
1732 Not all test scripts work properly on MS-Windows when checked out from CVS.
|
|
1733 Use a Vim command to fix all fileformats to dos before executing the tests.
|
|
1734
|
|
1735 When using ":new" and the file fits in the window, lines could still be above
|
|
1736 the window. Now remove empty lines instead of keeping the relative position.
|
|
1737
|
76
|
1738 Cmdline completion didn't work after ":let var1 var<Tab>".
|
|
1739
|
91
|
1740 When using ":startinsert" or ":startreplace" when already in Insert mode
|
|
1741 (possible when using CTRL-R =), pressing Esc would directly restart Insert
|
|
1742 mode. (Peter Winters)
|
|
1743
|
97
|
1744 "2daw" didn't work at end of file if the last word is a single character.
|
|
1745
|
100
|
1746 Completion for ":next a'<Tab>" put a backslash before single quote, but it was
|
|
1747 not removed when editing a file. Now halve backslashes in save_patterns().
|
109
|
1748 Also fix expanding a file name with the shell that contains "\'".
|
100
|
1749
|
136
|
1750 When doing "1,6d|put" only "fewer lines" was reported. Now a following "more
|
|
1751 lines" overwrites the message.
|
|
1752
|
|
1753 Configure could not handle "-Dfoo=long\ long" in the TCL config output.
|
|
1754
|
141
|
1755 When searching backwards, using a pattern that matches a newline and uses \zs
|
|
1756 after that, didn't find a match. Could also get a hang or end up in the right
|
|
1757 column in the wrong line.
|
|
1758
|
149
|
1759 When $LANG is "sl" for slovenian, the slovak menu was used, since "slovak"
|
|
1760 starts with "sl".
|
|
1761
|
|
1762 When 'paste' is set in the GUI the Paste toolbar button doesn't work. Clear
|
|
1763 'paste' when starting the GUI.
|
|
1764
|
155
|
1765 A message about a wrong viminfo line included the trailing NL.
|
|
1766
|
159
|
1767 When 'paste' is set in the GUI the toolbar button doesn't work in Insert mode.
|
|
1768 Use ":exe" in menu.vim to avoid duplicating the commands, instead of using a
|
|
1769 mapping.
|
|
1770
|
|
1771 Treat "mlterm" as an xterm-like terminal. (Seiichi Sato)
|
|
1772
|
|
1773 ":z.4" and ":z=4" didn't work Vi compatible.
|
|
1774
|
162
|
1775 When sourcing a file, editing it and sourcing it again, it could appear twice
|
|
1776 in ":scriptnames" and get a new <SID>, because the inode has changed.
|
|
1777
|
|
1778 When $SHELL is set but empty the 'shell' option would be empty. Don't use an
|
|
1779 empty $SHELL value.
|
|
1780
|
|
1781 A command "w! file" in .vimrc or $EXINIT didn't work. Now it writes an empty
|
|
1782 file.
|
|
1783
|
|
1784 When a CTRL-F command at the end of the file failed, the cursor was still
|
|
1785 moved to the start of the line. Now it remains where it is.
|
|
1786
|
|
1787 When using ":s" or "&" to repeat the last substitute and "$" was used to put
|
|
1788 the cursor in the last column, put the cursor in the last column again. This
|
|
1789 is Vi compatible.
|
|
1790
|
164
|
1791 Vim is not fully POSIX compliant but sticks with traditional Vi behavior.
|
|
1792 Added a few flags in 'cpoptions' to behave the POSIX way when wanted. The
|
|
1793 $VIM_POSIX environment variable is checked to set the default.
|
|
1794
|
|
1795 Appending to a register didn't insert a line break like Vi. Added the '>'
|
|
1796 flag to 'cpoptions' for this.
|
|
1797
|
|
1798 Using "I" in a line with only blanks appended to the line. This is not Vi
|
|
1799 compatible. Added the 'H' flag in 'coptions' for this.
|
|
1800
|
|
1801 When joining multiple lines the cursor would be at the last joint, but Vi
|
|
1802 leaves it at the position where "J" would put it. Added the 'q' flag in
|
|
1803 'cpoptions' for this.
|
|
1804
|
|
1805 Autoindent didn't work for ":insert" and ":append".
|
|
1806
|
|
1807 Using ":append" in an empty buffer kept the dummy line. Now it's deleted to
|
|
1808 be Vi compatible.
|
|
1809
|
|
1810 When reading commands from a file and stdout goes to a terminal, would still
|
|
1811 request the xterm version. Vim can't read it, thus the output went to the
|
|
1812 shell and caused trouble there.
|
|
1813
|
169
|
1814 When redirecting to a register with an invalid name the redirection would
|
|
1815 still be done (after an error message). Now reset "redir_reg". (Yegappan
|
|
1816 Lakshmanan)
|
|
1817
|
|
1818 It was not possible to use a NL after a backslash in Ex mode. This is
|
|
1819 sometimes used to feed multiple lines to a shell command.
|
|
1820
|
170
|
1821 When 'cmdheight' is set to 2 in .vimrc and the GUI uses the number of lines
|
|
1822 from the terminal we actually get 3 lines for the cmdline in gvim.
|
|
1823
|
|
1824 When setting $HOME allocated memory would leak.
|
|
1825
|
179
|
1826 Win32: bold characters may sometimes write in another character cell. Use
|
|
1827 unicodepdy[] as for UTF-8. (Taro Muraoka)
|
|
1828
|
|
1829 ":w fname" didn't work for files with 'buftype' set to "nofile".
|
|
1830
|
192
|
1831 The method used to locate user commands for completion differed from when they
|
|
1832 are executed. Abiguous command names were not completed properly.
|
|
1833
|
197
|
1834 Incremental search may cause a crash when there is a custom statusline that
|
|
1835 indirectly invokes ":normal".
|
|
1836
|
|
1837 Diff mode failed when $DIFF_OPTIONS was set in the environment. Unset it
|
|
1838 before invoking "diff".
|
|
1839
|
200
|
1840 Completion didn't work after ":argdo", ":windo" and ":bufdo". Also for ":set
|
|
1841 &l:opt" and ":set &g:opt". (Peter Winters)
|
|
1842
|
|
1843 When setting 'ttymouse' to "dec" in an xterm that supports the DEC mouse
|
|
1844 locator it doesn't work. Now switch off the mouse before selecting another
|
|
1845 mouse model.
|
|
1846
|
206
|
1847 When the CursorHold event is triggered and the commands peek for typed
|
|
1848 characters the typeahead buffer may be messed up, e.g., when a mouse-up event
|
|
1849 is received. Avoid invoking the autocommands from the function waiting for a
|
|
1850 character, let it put K_CURSORHOLD in the input buffer.
|
|
1851
|
|
1852 Removed the "COUNT" flag from ":argadd", to avoid ":argadd 1*" to be used like
|
218
|
1853 ":1argadd *". Same for ":argdelete" and ":argedit".
|
206
|
1854
|
|
1855 Avoid that $LANG is used for the menus when LC_MESSAGES is "en_US".
|
|
1856
|
218
|
1857 Added backslashes before dashes in the vim.1 manual page to make the appear as
|
|
1858 real dashes. (Pierr Habouzit)
|
|
1859
|
|
1860 Where "gq" left the cursor depended on the value of 'formatprg'. Now "gq"
|
|
1861 always leaves the cursor at the last line of the formatted text.
|
|
1862
|
|
1863 When editing a compressed file, such as "changelog.Debian.gz" file, filetype
|
|
1864 detection may try to check the contents of the file while it's still
|
|
1865 compressed. Skip setting 'filetype' for compressed files until they have been
|
|
1866 decompressed. Required for patterns that end in a "*".
|
|
1867
|
|
1868 Starting with an argument "+cmd" or "-S script" causes the cursor the be moved
|
|
1869 to the first line. That breaks a BufReadPost autocommand that uses g`".
|
|
1870 Don't move the cursor if it's somewhere past the first line.
|
|
1871
|
|
1872 "gg=G" while 'modifiable' is off was uninterruptable.
|
|
1873
|
222
|
1874 When 'encoding' is "sjis" inserting CTRL-V u d800 a few times causes a crash.
|
|
1875 Don't insert a DBCS character with a NUL second byte.
|
|
1876
|
231
|
1877 In Insert mode CTRL-O <Home> didn't move the cursor. Made "ins_at_eol" global
|
|
1878 and reset it in nv_home().
|
|
1879
|
234
|
1880 Wildcard expansion failed: ":w /tmp/$$.`echo test`". Don't put quotes around
|
|
1881 spaces inside backticks.
|
|
1882
|
237
|
1883 After this sequence of commands: Y V p gv: the wrong line is selected. Now
|
|
1884 let "gv" select the text that was put, since the original text is deleted.
|
|
1885 This should be the most useful thing to do.
|
|
1886
|
|
1887 ":sleep 100u" sleeps for 100 seconds, not 100 usec as one might expect. Give
|
|
1888 an error message when the argument isn't recognized.
|
|
1889
|
|
1890 In gui_mch_draw_string() in gui_w32.c "unibuflen" wasn't static, resulting in
|
|
1891 reallocating the buffer every time. (Alexei Alexandrov)
|
|
1892
|
242
|
1893 When using a Python "atexit" function it was not invoked when Vim exits. Now
|
|
1894 call Py_Finalize() for that. (Ugo Di Girolamo)
|
323
|
1895 This breaks the thread stuff though, fixed by Ugo.
|
242
|
1896
|
265
|
1897 GTK GUI: using a .vimrc with "set cmdheight=2 lines=43" and ":split" right
|
|
1898 after startup, the window layout is messed up. (Michael Schaap) Added
|
|
1899 win_new_shellsize() call in gui_init() to fix the topframe size.
|
|
1900
|
|
1901 Trick to get ...MOUSE_NM not used when there are vertical splits. Now pass
|
|
1902 column -1 for the left most window and add MOUSE_COLOFF for others. Limits
|
|
1903 mouse column to 10000.
|
|
1904
|
|
1905 searchpair() may hang when the end pattern has "\zs" at the end. Check that
|
|
1906 we find the same position again and advance one character.
|
|
1907
|
|
1908 When in diff mode and making a change that causes the "changed" highlighting
|
|
1909 to disappear or reappear, it was still highlighted in another window.
|
|
1910
|
271
|
1911 When a ":next" command fails because the user selects "Abort" at the ATTENTION
|
|
1912 prompt the argument index was advanced anyway.
|
|
1913
|
|
1914 When "~" is in 'iskeyword' the "gd" doesn't work, it's used for the previous
|
|
1915 substitute pattern. Put "\V" in the pattern to avoid that.
|
|
1916
|
274
|
1917 Use of sprintf() sometimes didn't check properly for buffer overflow. Also
|
|
1918 when using smsg(). Included code for snprintf() to avoid having to do size
|
|
1919 checks where invoking them
|
|
1920
|
279
|
1921 ":help \=<Tab>" didn't find "sub-replace-\=". Wild menu for help tags didn't
|
|
1922 show backslashes. ":he :s\=" didn't work.
|
|
1923
|
|
1924 When reading an errorfile "~/" in a file name was not expanded.
|
|
1925
|
|
1926 GTK GUI: When adding a scrollbar (e.g. when using ":vsplit") in a script or
|
|
1927 removing it the window size may change. GTK sends us resize events when we
|
|
1928 change the window size ourselves, but they may come at an unexpected moment.
|
|
1929 Peek for a character to get any window resize events and fix 'columns' and
|
|
1930 'lines' to undo this.
|
|
1931
|
791
|
1932 When using the GTK plug mechanism, resizing and focus was not working
|
|
1933 properly. (Neil Bird)
|
|
1934
|
284
|
1935 After deleting files from the argument list a session file generated with
|
|
1936 ":mksession" may contain invalid ":next" commands.
|
|
1937
|
|
1938 When 'shortmess' is empty and 'keymap' set to accents, in Insert mode CTRL-N
|
|
1939 may cause the hit-enter prompt. Typing 'a then didn't result in the accented
|
|
1940 character. Put the character typed at the prompt back in the typeahead buffer
|
|
1941 so that mapping is done in the right mode.
|
|
1942
|
337
|
1943 setbufvar() and setwinvar() did not give error messages.
|
|
1944
|
|
1945 It was possible to set a variable with an illegal name, e.g. with setbufvar().
|
344
|
1946 It was possible to define a function with illegal name, e.t. ":func F{-1}()"
|
|
1947
|
|
1948 CTRL-W F and "gf" didn't use the same method to get the file name.
|
337
|
1949
|
375
|
1950 When reporting a conversion error the line number of the last error could be
|
|
1951 given. Now report the first encountered error.
|
|
1952
|
|
1953 When using ":e ++enc=name file" and iconv() was used for conversion an error
|
591
|
1954 caused a fall-back to no conversion. Now replace a character with '?' and
|
375
|
1955 continue.
|
|
1956
|
404
|
1957 When opening a new buffer the local value of 'bomb' was not initialized from
|
|
1958 the global value.
|
|
1959
|
415
|
1960 Win32: When using the "Edit with Vim" entry the file name was limited to about
|
|
1961 200 characters.
|
|
1962
|
436
|
1963 When using command line completion for ":e *foo" and the file "+foo" exists
|
|
1964 the resulting command ":e +foo" doesn't work. Now insert a backslash: ":e
|
|
1965 \+foo".
|
|
1966
|
446
|
1967 When the translation of "-- More --" was not 10 characters long the following
|
|
1968 message would be in the wrong position.
|
|
1969
|
|
1970 At the more-prompt the last character in the last line wasn't drawn.
|
|
1971
|
|
1972 When deleting non-existing text while 'virtualedit' is set the '[ and '] marks
|
|
1973 were not set.
|
|
1974
|
462
|
1975 Win32: Could not use "**/" in 'path', it had to be "**\".
|
|
1976
|
481
|
1977 The search pattern "\n" did not match at the end of the last line.
|
|
1978
|
|
1979 Searching for a pattern backwards, starting on the NUL at the end of the line
|
|
1980 and 'encoding' is "utf-8" would match the pattern just before it incorrectly.
|
|
1981 Affected searchpair('/\*', '', '\*/').
|
|
1982
|
482
|
1983 For the Find/Replace dialog it was possible that not finding the text resulted
|
|
1984 in an error message while redrawing, which cleared the syntax highlighting
|
|
1985 while it was being used, resulting in a crash. Now don't clear syntax
|
|
1986 highlighting, disable it with b_syn_error.
|
|
1987
|
497
|
1988 Win32: Combining UTF-8 characters were drawn on the previous character.
|
|
1989 Could be noticed with a Thai font.
|
|
1990
|
507
|
1991 Output of ":function" could leave some of the typed text behind. (Yegappan
|
|
1992 Lakshmanan)
|
|
1993
|
511
|
1994 When the command line history has only a few lines the command line window
|
|
1995 would be opened with these lines above the first window line.
|
|
1996
|
|
1997 When using a command line window for search strings ":qa" would result in
|
|
1998 searching for "qa" instead of quitting all windows.
|
|
1999
|
520
|
2000 GUI: When scrolling with the scrollbar and there is a line that doesn't fit
|
|
2001 redrawing may fail. Make sure w_skipcol is valid before redrawing.
|
|
2002
|
534
|
2003 Limit the values of 'columns' and 'lines' to avoid an overflow in Rows *
|
|
2004 Columns. Fixed bad effects when running out of memory (command line would be
|
|
2005 reversed, ":qa!" resulted in ":!aq").
|
|
2006
|
557
|
2007 Motif: "gvim -iconic" opened the window anyway. (David Harrison)
|
|
2008
|
|
2009 There is a tiny chance that a symlink gets created between checking for an
|
|
2010 existing file and creating a file. Use the O_NOFOLLOW for open() if it's
|
|
2011 available.
|
|
2012
|
|
2013 In an empty line "ix<CTRL-O>0" moved the cursor to after the line instead of
|
|
2014 sticking to the first column.
|
|
2015
|
572
|
2016 When using ":wq" and a BufWriteCmd autocmd uses inputsecret() the text was
|
|
2017 echoed anyway. Set terminal to raw mode in getcmdline().
|
|
2018
|
580
|
2019 Unix: ":w a;b~c" caused an error in expanding wildcards.
|
|
2020
|
591
|
2021 When appending to a file with ":w >>fname" in a buffer without a name, causing
|
|
2022 the buffer to use "fname", the modified flag was reset.
|
|
2023
|
|
2024 When appending to to current file the "not edited" flag would be reset.
|
|
2025 ":w" would overwrite the file accidentally.
|
|
2026
|
594
|
2027 Unix: When filtering text with an external command Vim would still read input,
|
|
2028 causing text typed for the command (e.g., a password) to be eaten and echoed.
|
|
2029 Don't read input when the terminal is in cooked mode.
|
|
2030
|
604
|
2031 The Cygwin version of xxd used CR/LF line separators. (Corinna Vinschen)
|
|
2032
|
|
2033 Unix: When filtering text through a shell command some resulting text may be
|
|
2034 dropped. Now after detecting that the child has exited try reading some more
|
|
2035 of its output.
|
|
2036
|
607
|
2037 When inside input(), using "CTRL-R =" and the expression throws an exception
|
|
2038 the command line was not abandoned but it wasn't used either. Now abandon
|
|
2039 typing the command line.
|
|
2040
|
610
|
2041 'delcombine' was also used in Visual and Select mode and for commands like
|
|
2042 "cl". That was illogical and has been disabled.
|
|
2043
|
|
2044 When recording while a CursorHold autocommand was defined special keys would
|
|
2045 appear in the register. Now the CursorHold event is not triggered while
|
|
2046 recording.
|
|
2047
|
615
|
2048 Unix: the src/configure script used ${srcdir-.}, not all shells understand
|
|
2049 that. Use ${srcdir:-.} instead.
|
|
2050
|
619
|
2051 When editing file "a" which is a symlink to file "b" that doesn't exist,
|
|
2052 writing file "a" to create "b" and then ":split b" resulted in two buffers on
|
|
2053 the same file with two different swapfile names. Now set the inode in the
|
|
2054 buffer when creating a new file.
|
|
2055
|
620
|
2056 When 'esckeys' is not set don't send the xterm code to request the version
|
|
2057 string, because it may cause trouble in Insert mode.
|
|
2058
|
|
2059 When evaluating an expression for CTRL-R = on the command line it was possible
|
632
|
2060 to call a function that opens a new window, resulting in errors for
|
634
|
2061 incremental search, and many other nasty things were possible. Now use the
|
|
2062 |textlock| to disallow changing the buffer or jumping to another window
|
625
|
2063 to protect from unexpected behavior. Same for CTRL-\ e.
|
620
|
2064
|
|
2065 "d(" deleted the character under the cursor, while the documentation specified
|
|
2066 an exclusive motion. Vi also doesn't delete the character under the cursor.
|
|
2067
|
|
2068 Shift-Insert in Insert mode could put the cursor before the last character
|
|
2069 when it just fits in the window. In coladvance() don't stop at the window
|
|
2070 edge when filling with spaces and when in Insert mode. In mswin.vim avoid
|
|
2071 getting a beep from the "l" command.
|
|
2072
|
625
|
2073 Win32 GUI: When Alt-F4 is used to close the window and Cancel is selected in
|
|
2074 the dialog then Vim would insert <M-F4> in the text. Now it's ignored.
|
|
2075
|
|
2076 When ":silent! {cmd}" caused the swap file dialog, which isn't displayed,
|
|
2077 there would still be a hit-enter prompt.
|
|
2078
|
626
|
2079 Requesting the termresponse (|t_RV|) early may cause problems with "-c"
|
|
2080 arguments that invoke an external command or even "-c quit". Postpone it
|
|
2081 until after executing "-c" arguments.
|
|
2082
|
|
2083 When typing in Insert mode so that a new line is started, using CTRL-G u to
|
|
2084 break undo and start a new change, then joining the lines with <BS> caused
|
|
2085 undo info to be missing. Now reset the insertion start point.
|
|
2086
|
|
2087 Syntax HL: When a region start match has a matchgroup and an offset that
|
|
2088 happens to be after the end of the line then it continued in the next line and
|
|
2089 stopped at the region end match, making the region continue after that.
|
|
2090 Now check for the column being past the end of the line in syn_add_end_off().
|
|
2091
|
630
|
2092 When changing a file, setting 'swapfile' off and then on again, making another
|
|
2093 change and killing Vim, then some blocks may be missing from the swapfile.
|
|
2094 When 'swapfile' is switched back on mark all blocks in the swapfile as dirty.
|
|
2095 Added mf_set_dirty().
|
|
2096
|
|
2097 Expanding wildcards in a command like ":e aap;<>!" didn't work. Put
|
|
2098 backslashes before characters that are special to the shell. (Adri Verhoef)
|
|
2099
|
632
|
2100 A CursorHold autocommand would cause a message to be cleared. Don't show the
|
|
2101 special key for the event for 'showcmd'.
|
|
2102
|
|
2103 When expanding a file name for a shell command, as in "!cmd foo<Tab>" or ":r
|
|
2104 !cmd foo<Tab>" also escape characters that are special for the shell:
|
|
2105 "!;&()<>".
|
|
2106
|
634
|
2107 When the name of the buffer was set by a ":r fname" command |cpo-f| no
|
|
2108 autocommands were triggered to notify about the change in the buffer list.
|
|
2109
|
|
2110 In the quickfix buffer 'bufhidden' was set to "delete", which caused closing
|
|
2111 the quickfix window to leave an unlisted "No Name" buffer behind every time.
|
|
2112
|
637
|
2113 Win32: when using two screens of different size, setting 'lines' to a large
|
|
2114 value didn't fill the whole screen. (SungHyun Nam)
|
|
2115
|
640
|
2116 Win32 installer: The generated _vimrc contained an absolute path to diff.exe.
|
|
2117 After upgrading it becomes invalid. Now use $VIMRUNTIME instead.
|
|
2118
|
644
|
2119 The command line was cleared to often when 'showmode' was set and ":silent
|
|
2120 normal vy" was used. Don't clear the command line unless the mode was
|
|
2121 actually displayed. Added the "mode_displayed" variable.
|
|
2122
|
648
|
2123 The "load session" toolbar item could not handle a space or other special
|
|
2124 characters in v:this_session.
|
|
2125
|
|
2126 ":set sta ts=8 sw=4 sts=2" deleted 4 spaces halfway a line instead of 2.
|
|
2127
|
651
|
2128 In a multi-byte file the foldmarker could be recognized in the trail byte.
|
|
2129 (Taro Muraoka)
|
|
2130
|
654
|
2131 Pasting with CTRL-V and menu didn't work properly when some commands are
|
|
2132 mapped. Use ":normal!" instead of ":normal". (Tony Apuzzo)
|
|
2133
|
|
2134 Crashed when expanding a file name argument in backticks.
|
|
2135
|
666
|
2136 In some situations the menu and scrollbar didn't work, when the value contains
|
|
2137 a CSI byte. (Yukihiro Nakadaira)
|
|
2138
|
667
|
2139 GTK GUI: When drawing the balloon focus changes and we might get a key release
|
|
2140 event that removed the balloon again. Ignore the key release event.
|
|
2141
|
|
2142 'titleold' was included in ":mkexrc" and ":mksession" files.
|
|
2143
|
671
|
2144 ":set background&" didn't use the same logic as was used when starting up.
|
|
2145
|
673
|
2146 When "umask" is set such that nothing is writable then the viminfo file would
|
|
2147 be written without write permission. (Julian Bridle)
|
|
2148
|
674
|
2149 Motif: In diff mode dragging one scrollbar didn't update the scrollbar of the
|
|
2150 other diff'ed window.
|
|
2151
|
680
|
2152 When editing in an xterm with a different number of colors than expected the
|
|
2153 screen would be cleared and redrawn, causing the message about the edited file
|
|
2154 to be cleared. Now set "keep_msg" to redraw the last message.
|
|
2155
|
681
|
2156 For a color terminal: When the Normal HL uses bold, possibly to make the color
|
|
2157 lighter, and another HL group specifies a color it might become light as well.
|
|
2158 Now reset bold if a HL group doesn't specify bold itself.
|
|
2159
|
685
|
2160 When using 256 color xterm the color 255 would show up as color 0. Use a
|
|
2161 short instead of a char to store the color number.
|
|
2162
|
|
2163 ml_get errors when searching for "\n\zs" in an empty file.
|
|
2164
|
689
|
2165 When selecting a block and using "$" to select until the end of every line and
|
|
2166 not highlighting the character under the cursor the first character of the
|
|
2167 block could be unhighlighted.
|
|
2168
|
|
2169 When counting words for the Visual block area and using "$" to select until
|
|
2170 the end of every line only up to the length of the last line was counted.
|
|
2171
|
693
|
2172 "dip" in trailing empty lines left one empty line behind.
|
|
2173
|
694
|
2174 The script ID was only remembered globally for each option. When a buffer- or
|
|
2175 window-local option was set the same "last set" location was changed for all
|
|
2176 buffers and windows. Now remember the script ID for each local option
|
|
2177 separately.
|
|
2178
|
|
2179 GUI: The "Replace All" button didn't handle backslashes in the replacement in
|
|
2180 the same way as "Replace". Escape backslashes so that they are taken
|
|
2181 literally.
|
|
2182
|
697
|
2183 When using Select mode from Insert mode and typing a key, causing lines to be
|
|
2184 deleted and a message displayed, delayed the effect of inserting the key.
|
|
2185 Now overwrite the message without delay.
|
694
|
2186
|
714
|
2187 When 'whichwrap' includes "l" then "dl" and "yl" on a single letter line
|
|
2188 worked differently. Now recognize all operators when using "l" at the end of
|
|
2189 a line.
|
|
2190
|
|
2191 GTK GUI: when the font selector returned a font name with a comma in it then
|
|
2192 it would be handled like two font names. Now put a backslash before the
|
|
2193 comma.
|
|
2194
|
|
2195 MS-DOS, Win32: When 'encoding' defaults to "latin1" then the value for
|
|
2196 'iskeyword' was still for CPxxx. And when 'nocompatible' was set 'isprint'
|
|
2197 would also be the wrong value.
|
|
2198
|
716
|
2199 When a command was defined not to take arguments and no '|' no warning message
|
|
2200 would be given for using a '|'. Also with ":loadkeymap".
|
|
2201
|
717
|
2202 Motif: When using a fontset and 'encoding' is "utf-8" and sizeof(wchar_t) !=
|
|
2203 sizeof(XChar2b) then display was wrong. (Yukihiro Nakadaira)
|
|
2204
|
734
|
2205 ":all" always set the current window to the first window, even when it
|
|
2206 contains a buffer that is not in the argument list (can't be closed because it
|
|
2207 is modified). Now go to the window that has the first item of the argument
|
|
2208 list.
|
|
2209
|
747
|
2210 GUI: To avoid left-over pixels from bold text all characters after a character
|
|
2211 with special attributes were redrawn. Now only do this for characters that
|
|
2212 actually are bold. Speeds up displaying considerably.
|
|
2213
|
|
2214 When only highlighting changes and the text is scrolled at the same time
|
|
2215 everything is redraw instead of using a scroll and updating the changed text.
|
|
2216 E.g., when using ":match" to highlight a paren that the cursor landed on.
|
|
2217 Added SOME_VALID: Redraw the whole window but also try to scroll to minimize
|
|
2218 redrawing.
|
|
2219
|
777
|
2220 Win32: When using Korean IME making it active didn't work properly. (Moon,
|
|
2221 Yu-sung, 2005 March 21)
|
|
2222
|
782
|
2223 Ruby interface: when inserting/deleting lines display wasn't updated. (Ryan
|
|
2224 Paul)
|
777
|
2225
|
819
|
2226 --- fixes since Vim 7.0b ---
|
807
|
2227
|
|
2228 Getting the GCC version in configure didn't work with Solaris sed. First
|
|
2229 strip any "darwin." and then get the version number.
|
|
2230
|
|
2231 The "autoload" directory was missing from the self-installing executable for
|
|
2232 MS-Windows.
|
|
2233
|
|
2234 The MS-Windows install program would find "vimtutor.bat" in the install
|
|
2235 directory. After changing to "c:" also change to "\" to avoid looking in the
|
|
2236 install directory.
|
|
2237
|
|
2238 To make the 16 bit DOS version compile exclude not used highlight
|
|
2239 initializations and build a tiny instead of small version.
|
|
2240
|
809
|
2241 finddir() and findfile() accept a negative cound and return a List then.
|
|
2242
|
|
2243 The Python indent file contained a few debugging statements, removed.
|
|
2244
|
|
2245 Expanding {} for a function name, resulting in a name starting with "s:" was
|
|
2246 not handled correctly.
|
|
2247
|
|
2248 Spelling: renamed COMPOUNDMAX to COMPOUNDWORDMAX. Added several items to be
|
|
2249 able to handle the new Hungarian dictionary.
|
|
2250
|
|
2251 Mac: Default to building for the current platform only, that is much faster
|
|
2252 than building a universal binary. Also, using Perl/Python/etc. only works for
|
|
2253 the current platform.
|
|
2254
|
810
|
2255 The time on undo messages disappeared for someone. Using %T for strftime()
|
|
2256 apparently doesn't work everywhere. Use %H:%M:%S instead.
|
|
2257
|
|
2258 Typing BS at the "z=" prompt removed the prompt.
|
809
|
2259
|
825
|
2260 --- fixes and changes since Vim 7.0c ---
|
814
|
2261
|
|
2262 When jumping to another tab page the Vim window size was always set, even when
|
|
2263 nothing in the layout changed.
|
|
2264
|
|
2265 Win32 GUI tab pages line wasn't always enabled. Do a proper check for the
|
|
2266 compiler version.
|
|
2267
|
|
2268 Win32: When switching between tab pages the Vim window was moved when part of
|
|
2269 it was outside of the screen. Now only do that in the direction of a size
|
|
2270 change.
|
|
2271
|
|
2272 Win32: added menu to GUI tab pages line. (Yegappan Lakshmanan)
|
|
2273
|
816
|
2274 Mac: Added document icons. (Benji Fisher)
|
|
2275
|
|
2276 Insert mode completion: Using Enter to accept the current match causes
|
|
2277 confusion. Use CTRL-Y instead. Also, use CTRL-E to go back to the typed
|
|
2278 text.
|
|
2279
|
|
2280 GUI: When there are left and righ scrollbars, ":tabedit" kept them instead of
|
|
2281 using the one that isn't needed.
|
814
|
2282
|
818
|
2283 Using "gP" to replace al the text could leave the cursor below the last line,
|
|
2284 causing ml_get errors.
|
|
2285
|
|
2286 When 'cursorline' is set don't use the highlighting when Visual mode is
|
|
2287 active, otherwise it's difficult to see the selected area.
|
|
2288
|
|
2289 The matchparen plugin restricts the search to 100 lines, to avoid a long delay
|
|
2290 when there are closed folds.
|
|
2291
|
|
2292 Sometimes using CTRL-X s to list spelling suggestions used text from another
|
|
2293 line.
|
|
2294
|
|
2295 Win32: Set the default for 'isprint' back to the wrong default "@,~-255",
|
|
2296 because many people use Windows-1252 while 'encoding' is "latin1".
|
|
2297
|
819
|
2298 GTK: Added a workaround for gvim crashing when used over an untrusted ssh
|
|
2299 link, caused by GTK doing something nasty. (Ed Catmur)
|
|
2300
|
|
2301 Win32: The font used for the tab page labels is too big. Use the system menu
|
|
2302 font. (George Reilly)
|
|
2303
|
|
2304 Win32: Adjusting the window position and size to keep it on the screen didn't
|
|
2305 work properly when the taskbar is on the left or top of the screen.
|
|
2306
|
|
2307 The installman.sh and installml.sh scripts use ${10}, that didn't work with
|
|
2308 old shells. And use "test -f" instead of "test -e".
|
|
2309
|
|
2310 Win32: When 'encoding' was set in the vimrc then a directory argument for diff
|
|
2311 mode didn't work.
|
|
2312
|
|
2313 GUI: at the inputlist() prompt the cursorshape was adjusted as if the windows
|
|
2314 were still at their old position.
|
|
2315
|
|
2316 The parenmatch plugin didn't remember the highlighting per window.
|
|
2317
|
|
2318 Using ":bd" for a buffer that's the current window in another tab page caused
|
|
2319 a crash.
|
|
2320
|
|
2321 For a new tab page the 'scroll' option wasn't set to a good default.
|
|
2322
|
|
2323 Using an end offset for a search "/pat/e" didn't work properly for multi-byte
|
|
2324 text. (Yukihiro Nakadaira)
|
|
2325
|
|
2326 ":s/\n/,/" doubled the text when used on the last line.
|
|
2327
|
|
2328 When "search" is in 'foldopen' "[s" and "]s" now open folds.
|
|
2329
|
|
2330 When using a numbered function "dict" can be omitted, but "self" didn't work
|
|
2331 then. Always add FC_DICT to the function flags when it's part of a
|
|
2332 dictionary.
|
|
2333
|
|
2334 When "--remote-tab" executes locally it left an empty tab page.
|
|
2335
|
|
2336 "gvim -u NONE", ":set cursorcolumn", "C" in the second line didn't update
|
|
2337 text. Do update further lines even though the "$" is displayed.
|
|
2338
|
|
2339 VMS: Support GTK better, also enable +clientserver. (Zoltan Arpadffy)
|
|
2340
|
|
2341 When highlighting of statusline or tabline is changed there was no redraw to
|
|
2342 show the effect.
|
|
2343
|
|
2344 Mac: Added "CFBundleIdentifier" to infplist.xml.
|
|
2345
|
|
2346 Added tabpage-local variables t:var.
|
|
2347
|
|
2348 Win32: Added double-click in tab pages line creates new tab. (Yegappan
|
|
2349 Lakshmanan)
|
|
2350
|
|
2351 Motif: Added GUI tab pages line. (Yegappan Lakshmanan)
|
|
2352
|
|
2353 Fixed crash when 'lines' was set to 1000 in a modeline.
|
|
2354
|
|
2355 When init_spellfile() finds a writable directory in 'runtimepath' but it
|
|
2356 doesn't contain a "spell" directory, create one.
|
|
2357
|
|
2358 Win32: executable() also finds "xxd" in the directory where Vim was started,
|
|
2359 but "!xxd" doesn't work. Append the Vim starting directory to $PATH.
|
|
2360
|
|
2361 The tab page labels are shortened, directory names are reduced to a single
|
|
2362 letter by default. Added the pathshorten() function to allow a user to do the
|
|
2363 same.
|
|
2364
|
|
2365 ":saveas" now resets 'readonly' if the file was successfully written.
|
|
2366
|
|
2367 Set $MYVIMRC file to the first found .vimrc file.
|
|
2368 Set $MYGVIMRC file to the first found .gvimrc file.
|
|
2369 Added menu item "Startup Settings" that edits the $MYVIMRC file
|
|
2370
|
|
2371 Added matcharg().
|
|
2372
|
|
2373 Error message E745 appeared twice. Renamed one to E786.
|
|
2374
|
|
2375 Fixed crash when using "au BufRead * Sexplore" and doing ":help". Was wiping
|
|
2376 out a buffer that's still in a window.
|
|
2377
|
|
2378 ":hardcopy" resulted in an error message when 'encoding' is "utf-8" and
|
|
2379 'printencoding' is empty. Now it assumes latin1. (Mike Williams)
|
|
2380
|
|
2381 The check for the toolbar feature for Motif, depending on certain included
|
|
2382 files, wasn't detailed enough, causing building to fail in gui_xmebw.c.
|
|
2383
|
|
2384 Using CTRL-E in Insert mode completion after CTRL-P inserted the first match
|
|
2385 instead of the original text.
|
|
2386
|
|
2387 When displaying a UTF-8 character with a zero lower byte Vim might think the
|
|
2388 previous character is double-wide.
|
|
2389
|
|
2390 The "nbsp" item of 'listchars' didn't work when 'encoding' was utf-8.
|
|
2391
|
|
2392 Motif: when Xm/xpm.h is missing gui_xmebw.c would not compile.
|
|
2393 HAVE_XM_UNHIGHLIGHTT_H was missing a T.
|
|
2394
|
|
2395 Mac: Moved the .icns files into src/os_mac_rsrc, so that they can all be
|
|
2396 copied at once. Adjusted the Info.plist file for three icons.
|
|
2397
|
|
2398 When Visual mode is active while switching to another tabpage could get ml_get
|
|
2399 errors.
|
|
2400
|
|
2401 When 'list' is set, 'nowrap' the $ in the first column caused 'cursorcolumn'
|
|
2402 to move to the right.
|
|
2403
|
|
2404 When a line wraps, 'cursorcolumn' was never displayed past the end of the
|
|
2405 line.
|
|
2406
|
821
|
2407 'autochdir' was only available when compiled with NetBeans and GUI. Now it's
|
|
2408 a separate feature, also available in the "big" version.
|
|
2409
|
|
2410 Added CTRL-W gf: open file under cursor in new tab page.
|
|
2411
|
|
2412 When using the menu in the tab pages line, "New Tab" opens the new tab before
|
|
2413 where the click was. Beyond the labels the new tab appears at the end instead
|
|
2414 of after the current tab page.
|
|
2415
|
823
|
2416 Inside a mapping with an expression getchar() could not be used.
|
|
2417
|
|
2418 When vgetc is used recursively vgetc_busy protects it from being used
|
|
2419 recursively. But after a ":normal" command the protection was reset.
|
|
2420
|
|
2421 ":s/a/b/n" didn't work when 'modifiable' was off.
|
|
2422
|
|
2423 When $VIMRUNTIME includes a multi-byte character then rgb.txt could not be
|
|
2424 found. (Yukihiro Nakadaira)
|
|
2425
|
|
2426 ":mkspell" didn't work correctly for non-ASCII affix flags when conversion is
|
|
2427 needed on the spell file.
|
|
2428
|
|
2429 glob('/dir/\$ABC/*') didn't work.
|
|
2430
|
824
|
2431 When using several tab pages and changing 'cmdheight' the display could become
|
|
2432 messed up. Now store the value of 'cmdheight' separately for each tab page.
|
|
2433
|
825
|
2434 The user of the Enter key while the popup menu is visible was still confusing.
|
|
2435 Now use Enter to select the match after using a cursor key.
|
|
2436
|
|
2437 Added "usetab" to 'switchbuf'.
|
|
2438
|
826
|
2439
|
|
2440 --- fixes and changes since Vim 7.0d ---
|
|
2441
|
|
2442 Added CTRL-W T: move a window to a new tab page.
|
|
2443
|
|
2444 Using CTRL-X s in Insert mode to complete spelling suggestions and using BS
|
|
2445 deleted characters before the bad word.
|
|
2446
|
|
2447 A few small fixes for the VMS makefile. (Zoltan Arpadffy)
|
|
2448
|
|
2449 With a window of 91 lines 45 cols, ":vsp" scrolled the window. Copy w_wrow
|
|
2450 when splitting a window and skip setting the height when it's already at the
|
|
2451 right value.
|
|
2452
|
|
2453 Using <silent> in a mapping with a shell command and the GUI caused redraw
|
|
2454 to use wrong attributes.
|
|
2455
|
|
2456 Win32: Using MSVC 4.1 for install.exe resulted in the start menu items to be
|
|
2457 created in the administrator directory instead of "All Users". Define the
|
|
2458 CSIDL_ items if they are missing.
|
|
2459
|
827
|
2460 Motif: The GUI tabline did not use the space above the right scrollbar. Work
|
|
2461 around a bug in the Motif library. (Yegappan Lakshmanan)
|
|
2462
|
|
2463 The extra files for XML Omni completion are now also installed.
|
|
2464 |xml-omni-datafile|
|
|
2465
|
|
2466 GTK GUI: when 'm' is missing from 'guioptions' during startup and pressing
|
|
2467 <F10> GTK produced error messages. Now do create the menu but disable it just
|
|
2468 after the first gui_mch_update().
|
|
2469
|
|
2470 ":mkspell" doesn't work well with the Hungarian dictionary from the Hunspell
|
|
2471 project. Back to the Myspell dictionary.
|
|
2472
|
|
2473 In help files hide the | used around tags.
|
|
2474
|
|
2475 Renamed pycomplete to pythoncomplete.
|
|
2476
|
|
2477 Added "tabpages" to 'sessionoptions'.
|
|
2478
|
|
2479 When 'guitablabel' is set the effect wasn't visible right away.
|
|
2480
|
|
2481 Fixed a few 'cindent' errors.
|
|
2482
|
828
|
2483 When completing menu names, e.g., after ":emenu", don't sort the entries but
|
|
2484 keep them in the original order.
|
|
2485
|
|
2486 Fixed a crash when editing a directory in diff mode. Don't trigger
|
|
2487 autocommands when executing the diff command.
|
|
2488
|
|
2489 Getting a keystroke could get stuck if 'encoding' is a multi-byte encoding and
|
|
2490 typing a special key.
|
|
2491
|
|
2492 When 'foldignore' is set the folds were not updated right away.
|
826
|
2493
|
829
|
2494 When a list is indexed with [a : b] and b was greater than the length an error
|
834
|
2495 message was given. Now silently truncate the result.
|
829
|
2496
|
|
2497 When using BS during Insert mode completion go back to the original text, so
|
|
2498 that CTRL-N selects the first matching entry.
|
|
2499
|
834
|
2500 Added the 'M' flag to 'cinoptions'.
|
829
|
2501
|
|
2502 Win32: Make the "gvim --help" window appear in the middle of the screen
|
|
2503 instead of at an arbitrary position. (Randall W. Morris)
|
|
2504
|
832
|
2505 Added gettabwinvar() and settabwinvar().
|
|
2506
|
|
2507 Command line completion: pressing <Tab> after ":e /usr/*" expands the whole
|
|
2508 tree, because it becomes ":e /usr/**". Don't add a star if there already is
|
|
2509 one.
|
|
2510
|
834
|
2511 Added grey10 to grey90 to all GUIs, so that they can all be used for
|
|
2512 initializing highlighting. Use grey40 for CursorColumn and CursorLine when
|
|
2513 'background' is "dark".
|
|
2514
|
|
2515 When reading a file and using iconv for conversion, an incomplete byte
|
|
2516 sequence at the end caused problems. (Yukihiro Nakadaira)
|
|
2517
|
|
2518
|
|
2519 --- fixes and changes since Vim 7.0e ---
|
|
2520
|
|
2521 Default color for MatchParen when 'background' is "dark" is now DarkCyan.
|
|
2522
|
|
2523 ":syn off" had to be used twice in a file that sets 'syntax' in a modeline.
|
|
2524 (Michael Geddes)
|
|
2525
|
|
2526 When using ":vsp" or ":sp" the available space wasn't used equally between
|
|
2527 windows. (Servatius Brandt)
|
|
2528
|
835
|
2529 Expanding <cWORD> on a trailing blank resulted in the first word in the line
|
|
2530 if 'encoding' is a multi-byte encoding.
|
|
2531
|
|
2532 Spell checking: spellbadword() didn't see a missing capital in the first word
|
|
2533 of a line. Popup menu now only suggest the capitalized word when appropriate.
|
|
2534
|
842
|
2535 When using whole line completion CTRL-L moves through the matches but it
|
836
|
2536 didn't work when at the original text.
|
|
2537
|
|
2538 When completion finds the longest match, don't go to the first match but stick
|
|
2539 at the original text, so that CTRL-N selects the first one.
|
|
2540
|
|
2541 Recognize "zsh-beta" like "zsh" for setting the 'shellpipe' default. (James
|
|
2542 Vega)
|
|
2543
|
|
2544 When using ":map <expr>" and the expression results in something with a
|
|
2545 special byte (NUL or CSI) then it didn't work properly. Now escape special
|
|
2546 bytes.
|
|
2547
|
|
2548 The default Visual highlighting for a color xterm with 8 colors was a magenta
|
|
2549 background, which made magenta text disappear. Now use reverse in this
|
|
2550 specific situation.
|
|
2551
|
|
2552 After completing the longest match "." didn't insert the same text. Repeating
|
|
2553 also didn't work correctly for multi-byte text.
|
|
2554
|
|
2555 When using Insert mode completion and BS the whole word that was completed
|
|
2556 would result in all possible matches. Now stop completion. Also fixes that
|
|
2557 for spell completion the previous word was deleted.
|
|
2558
|
|
2559 GTK: When 'encoding' is "latin1" and using non-ASCII characters in a file name
|
|
2560 the tab page label was wrong and an error message would be given.
|
|
2561
|
|
2562 The taglist() function could hang on a tags line with a non-ASCII character.
|
|
2563
|
837
|
2564 Win32: When 'encoding' differs from the system encoding tab page labels with
|
|
2565 non-ASCII characters looked wrong. (Yegappan Lakshmanan)
|
|
2566
|
838
|
2567 Motif: building failed when Xm/Notebook.h doesn't exist. Added a configure
|
|
2568 check, disable GUI tabline when it's missing.
|
|
2569
|
|
2570 Mac: When compiled without multi-byte feature the clipboard didn't work.
|
|
2571
|
|
2572 It was possible to switch to another tab page when the cmdline window is open.
|
|
2573
|
|
2574 Completion could hang when 'lines' is 6 and a preview window was opened.
|
|
2575
|
839
|
2576 Added CTRL-W gF: open file under cursor in new tab page and jump to the line
|
|
2577 number following the file name.
|
840
|
2578 Added 'guitabtooltip'. Implemented for Win32 (Yegappan Lakshmanan).
|
839
|
2579
|
|
2580 Added "throw" to 'debug' option: thow an exception for error messages even
|
|
2581 whey they would otherwise be ignored.
|
|
2582
|
|
2583 When 'keymap' is set and a line contains an invalid entry could get a "No
|
|
2584 mapping found" warning instead of a proper error message.
|
|
2585
|
|
2586 Motif: default to using XpmAttributes instead of XpmAttributes_21.
|
|
2587
|
840
|
2588 A few more changes for 64 bit MS-Windows. (George Reilly)
|
|
2589
|
|
2590 Got ml_get errors when doing "o" and selecting in other window where there are
|
|
2591 less line shorter than the cursor position in the other window. ins_mouse()
|
|
2592 was using position in wrong window.
|
|
2593
|
|
2594 Win32 GUI: Crash when giving a lot of messages during startup. Allocate twice
|
|
2595 as much memory for the dialog template.
|
|
2596
|
|
2597 Fixed a few leaks and wrong pointer use reported by coverity.
|
|
2598
|
|
2599 When showing menus the mode character was sometimes wrong.
|
838
|
2600
|
842
|
2601 Added feedkeys(). (Yakov Lerner)
|
|
2602
|
|
2603 Made matchlist() always return all submatches.
|
|
2604
|
|
2605 Moved triggering QuickFixCmdPost to before jumping to the first location.
|
|
2606
|
|
2607 Mac: Added the 'macatsui' option as a temporary work around for text drawing
|
|
2608 problems.
|
|
2609
|
|
2610 Line completion on "/**" gave error messages when scanning an unloaded buffer.
|
841
|
2611
|
|
2612
|
7
|
2613 vim:tw=78:ts=8:ft=help:norl:
|