11
|
1 *version7.txt* For Vim version 7.0aa. Last change: 2004 Jun 30
|
7
|
2
|
|
3
|
|
4 VIM REFERENCE MANUAL by Bram Moolenaar
|
|
5
|
|
6
|
|
7 Welcome to Vim 7! A large number of features has been added. This file
|
|
8 mentions all the new items, changes to existing features and bug fixes
|
|
9 compared to Vim 6.x.
|
|
10
|
|
11 See |vi_diff.txt| for an overview of differences between Vi and Vim 7.0.
|
|
12 See |version4.txt| for differences between Vim 3.x and Vim 4.x.
|
|
13 See |version5.txt| for differences between Vim 4.x and Vim 5.x.
|
|
14 See |version6.txt| for differences between Vim 5.x and Vim 6.x.
|
|
15
|
|
16 INCOMPATIBLE CHANGES |incompatible-7|
|
|
17
|
|
18 NEW FEATURES |new-7|
|
|
19
|
|
20 New data types |new-data-types|
|
|
21 Various new items |new-items-7|
|
|
22
|
|
23 IMPROVEMENTS |improvements-7|
|
|
24
|
|
25 COMPILE TIME CHANGES |compile-changes-7|
|
|
26
|
|
27 BUG FIXES |bug-fixes-7|
|
|
28
|
|
29 ==============================================================================
|
|
30 INCOMPATIBLE CHANGES *incompatible-7*
|
|
31
|
|
32 These changes are incompatible with previous releases. Check this list if you
|
|
33 run into a problem when upgrading from Vim 6.x to 7.0
|
|
34
|
10
|
35 ":helpgrep" now uses a help window to display a match.
|
|
36
|
|
37
|
|
38 Minor incompatibilities:
|
|
39
|
|
40 For filetype detection: For many types, instead of ~/.dir/filename use
|
|
41 */.dir/filename, so that it also works for other user's files.
|
|
42
|
|
43 ":0verbose" now sets 'verbose' to zero instead of one.
|
|
44
|
|
45 Removed the old and incomplete "VimBuddy" code.
|
|
46
|
|
47 Buffers without a name report "No Name" instead of "No File". It was
|
|
48 confusing for buffers with a name and 'buftype' set to "nofile".
|
7
|
49
|
|
50 ==============================================================================
|
|
51 NEW FEATURES *new-7*
|
|
52
|
|
53 New data types *new-data-types*
|
|
54 --------------
|
|
55
|
|
56 In Vim scripts the following types have been added:
|
|
57
|
|
58 list ordered list of items
|
|
59 dictionary associative array of items
|
|
60 function reference to a function
|
|
61
|
|
62 Many functions and commands have been added to support the new types.
|
|
63
|
11
|
64 NOT IMPLEMENTED YET!
|
|
65
|
|
66
|
|
67 KDE support *new-kde*
|
|
68 -----------
|
|
69
|
|
70 Kvim is the KDE version of Vim. It uses the Qt toolkit. See |KVim|.
|
|
71 (Thomas Capricelli, Philippe Fremy, Mickael Marchand, Mark Westcott, et al.)
|
|
72
|
7
|
73
|
|
74 Various new items *new-items-7*
|
|
75 -----------------
|
|
76
|
|
77 Normal mode commands: ~
|
|
78
|
|
79
|
|
80 Options: ~
|
|
81
|
|
82
|
|
83 Ex commands: ~
|
|
84
|
11
|
85 Win32: The ":winpos" command now also works in the console. (Vipin Aravind)
|
|
86
|
7
|
87
|
|
88 New functions: ~
|
|
89
|
|
90
|
|
91 New autocommand events: ~
|
|
92
|
11
|
93 InsertEnter starting Insert or Replace mode
|
|
94 InsertChange going from Insert to Replace mode or back
|
|
95 InsertLeave leaving Insert or Replace mode
|
|
96
|
7
|
97
|
|
98 New Syntax files: ~
|
|
99
|
10
|
100 Others: ~
|
|
101
|
|
102 Mac: Add the selection type to the clipboard, so that Block, line and
|
|
103 character selections can be used between two Vims. (Eckehard Berns)
|
|
104 Also fixes the problem that setting 'clipboard' to "unnamed" breaks using
|
|
105 "yyp".
|
7
|
106
|
11
|
107 The netrw plugin now also supports viewing a directory, when "scp://" is used.
|
|
108 Deleting and renaming files is possible. (Charles Campbell)
|
|
109
|
7
|
110 ==============================================================================
|
|
111 IMPROVEMENTS *improvements-7*
|
|
112
|
10
|
113 ":helpgrep" accepts a language specifier after the pattern: "pat@it".
|
|
114
|
|
115 ":breakadd here" and ":breakdel here" can be used to set or delete a
|
|
116 breakpoint at the cursor.
|
|
117
|
11
|
118 The tutor was updated to make it simpler to use and added text to explain a
|
|
119 few more important commands. Used ideas from Gabriel Zachmann.
|
7
|
120
|
|
121 ==============================================================================
|
|
122 COMPILE TIME CHANGES *compile-changes-7*
|
|
123
|
|
124
|
|
125 ==============================================================================
|
|
126 BUG FIXES *bug-fixes-7*
|
|
127
|
10
|
128 When using PostScript printing on MS-DOS the default 'printexpr' used "lpr"
|
|
129 instead of "copy". When 'printdevice' was empty the copy command did not
|
|
130 work. Use "LPT1" then.
|
|
131
|
|
132 The GTK font dialog uses a font size zero when the font name doesn't include a
|
|
133 size. Use a default size of 10.
|
|
134
|
|
135 This example in the documentation didn't work:
|
|
136 :e `=foo . ".c" `
|
|
137 Skip over the expression in `=expr` when looking for comments, |, % and #.
|
|
138
|
|
139 When ":helpgrep" doesn't find anything there is no error message.
|
|
140
|
|
141 "L" and "H" did not take closed folds into account.
|
|
142
|
|
143 Win32: The "-P title" argument stopped at the first title that matched, even
|
|
144 when it doesn't support MDI.
|
|
145
|
|
146 Mac GUI: CTRL-^ and CTRL-@ did not work.
|
|
147
|
|
148 "2daw" on "word." at the end of a line didn't include the preceding white
|
|
149 space.
|
|
150
|
|
151 Win32: Using FindExecutable() doesn't work to find a program. Use
|
|
152 SearchPath() instead. For executable() use $PATHEXT when the program searched
|
|
153 for doesn't have an extension.
|
|
154
|
|
155 When 'virtualedit' is set, moving the cursor up after appending a character
|
|
156 may move it to a different column. Was caused by auto-formatting moving the
|
|
157 cursor and not putting it back where it was.
|
|
158
|
|
159 When indent was added automatically and then moving the cursor, the indent was
|
|
160 not deleted (like when pressing ESC). The "I" flag in 'cpoptions' can be used
|
|
161 to make it work the old way.
|
|
162
|
|
163 When <Space> is mapped to something that starts with a space, typing <Space>
|
|
164 does not expand abbreviations. Only disable expanding abbreviations when a
|
|
165 mapping is not remapped, not when the RHS starts with the LHS.
|
|
166
|
|
167 When opening a command-line window, 'textwidth' gets set to 78 by the Vim
|
|
168 filetype plugin. Reset 'textwidth' to 0 to avoid lines are broken.
|
|
169
|
|
170 After using cursor(line, col) moving up/down doesn't keep the same column.
|
|
171
|
|
172 Win32: Borland C before 5.5 requires using ".u." for LowPart and HighPart
|
|
173 fields. (Walter Briscoe)
|
7
|
174
|
11
|
175 On Sinix SYS_NMLN isn't always defined. Define it ourselves. (Cristiano De
|
|
176 Michele)
|
|
177
|
7
|
178 vim:tw=78:ts=8:ft=help:norl:
|