Mercurial > vim
comparison runtime/doc/version7.txt @ 819:23f82b5d2814 v7.0c10
updated for version 7.0c10
author | vimboss |
---|---|
date | Wed, 05 Apr 2006 20:41:53 +0000 |
parents | 1f929f3ca806 |
children | a2b128f7d705 |
comparison
equal
deleted
inserted
replaced
818:1f929f3ca806 | 819:23f82b5d2814 |
---|---|
1 *version7.txt* For Vim version 7.0c. Last change: 2006 Mar 29 | 1 *version7.txt* For Vim version 7.0c. Last change: 2006 Apr 05 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
84 Minor incompatibilities: | 84 Minor incompatibilities: |
85 | 85 |
86 For filetype detection: For many types, instead of ~/.dir/filename use | 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. | 87 */.dir/filename, so that it also works for other user's files. |
88 | 88 |
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 | |
89 ":0verbose" now sets 'verbose' to zero instead of one. | 95 ":0verbose" now sets 'verbose' to zero instead of one. |
90 | 96 |
91 Removed the old and incomplete "VimBuddy" code. | 97 Removed the old and incomplete "VimBuddy" code. |
92 | 98 |
93 Buffers without a name report "No Name" instead of "No File". It was | 99 Buffers without a name report "No Name" instead of "No File". It was |
149 | 155 |
150 When defining a user command with |:command| the special items could be | 156 When defining a user command with |:command| the special items could be |
151 abbreviated. This caused unexpected behavior, such as <li> being recognized | 157 abbreviated. This caused unexpected behavior, such as <li> being recognized |
152 as <line1>. The items can no longer be abbreviated. | 158 as <line1>. The items can no longer be abbreviated. |
153 | 159 |
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). | |
163 | |
154 ============================================================================== | 164 ============================================================================== |
155 NEW FEATURES *new-7* | 165 NEW FEATURES *new-7* |
156 | 166 |
157 Vim script enhancements *new-vim-script* | 167 Vim script enhancements *new-vim-script* |
158 ----------------------- | 168 ----------------------- |
168 The |string()| function can be used to get a string representation of a | 178 The |string()| function can be used to get a string representation of a |
169 variable. Works for Numbers, Strings and composites of them. Then |eval()| | 179 variable. Works for Numbers, Strings and composites of them. Then |eval()| |
170 can be used to turn the string back into the variable value. | 180 can be used to turn the string back into the variable value. |
171 | 181 |
172 The |:let| command can now use "+=". ":let var += expr" works like | 182 The |:let| command can now use "+=". ":let var += expr" works like |
173 ":let var = var + expr". "-=" and ".=" works in a similar way. | 183 ":let var = var + expr". "-=" and ".=" work in a similar way. |
174 | 184 |
175 With the |:profile| command you can find out where your function or script | 185 With the |:profile| command you can find out where your function or script |
176 wastes its time. | 186 wastes its time. |
177 | 187 |
178 In the Python interface vim.eval() also handles Dictionaries and Lists. | 188 In the Python interface vim.eval() also handles Dictionaries and Lists. |
274 The |:tab| command modifier can be used to have most commands that open a new | 284 The |:tab| command modifier can be used to have most commands that open a new |
275 window open a new tab instead. | 285 window open a new tab instead. |
276 | 286 |
277 The |--remote-tab| argument can be used to edit a file in a new tab page in an | 287 The |--remote-tab| argument can be used to edit a file in a new tab page in an |
278 already running Vim server. | 288 already running Vim server. |
289 | |
290 Variables starting with "t:" are local to a tab page. | |
279 | 291 |
280 More info here: |tabpage| | 292 More info here: |tabpage| |
281 The Win32 GUI tabs were implemented by Yegappan Lakshmanan. | 293 The Win32 GUI tabs were implemented by Yegappan Lakshmanan. |
282 | 294 |
283 | 295 |
745 |len()| number of items in a List or Dictionary | 757 |len()| number of items in a List or Dictionary |
746 |map()| change each List or Dictionary item | 758 |map()| change each List or Dictionary item |
747 |maparg()| extra argument: use abbreviation | 759 |maparg()| extra argument: use abbreviation |
748 |mapcheck()| extra argument: use abbreviation | 760 |mapcheck()| extra argument: use abbreviation |
749 |match()| extra argument: count | 761 |match()| extra argument: count |
762 |matcharg()| return arguments of |:match| command | |
750 |matchend()| extra argument: count | 763 |matchend()| extra argument: count |
751 |matchlist()| list with match and submatches of a pattern in a string | 764 |matchlist()| list with match and submatches of a pattern in a string |
752 |matchstr()| extra argument: count | 765 |matchstr()| extra argument: count |
753 |max()| maximum value in a List or Dictionary | 766 |max()| maximum value in a List or Dictionary |
754 |min()| minimum value in a List or Dictionary | 767 |min()| minimum value in a List or Dictionary |
979 Vietnamese message translations and menu. (Phan Vinh Thinh) | 992 Vietnamese message translations and menu. (Phan Vinh Thinh) |
980 | 993 |
981 | 994 |
982 Others: ~ | 995 Others: ~ |
983 | 996 |
997 The |:read| command has the |++edit| argument. This means it will use the | |
998 detected 'fileformat', 'fileencoding' and other options for the buffer. This | |
999 also fixes the problem that editing a compressed file didn't set these | |
1000 options. | |
1001 | |
984 The Netbeans interface was updated for Sun Studio 10. The protocol number | 1002 The Netbeans interface was updated for Sun Studio 10. The protocol number |
985 goes from 2.2 to 2.3. (Gordon Prieur) | 1003 goes from 2.2 to 2.3. (Gordon Prieur) |
986 | 1004 |
987 Mac: When starting up Vim will load the $VIMRUNTIME/macmap.vim script to | 1005 Mac: When starting up Vim will load the $VIMRUNTIME/macmap.vim script to |
988 define default command-key mappings. (mostly by Benji Fisher) | 1006 define default command-key mappings. (mostly by Benji Fisher) |
1053 When editing a search pattern for a "/" or "?" command and 'incsearch' is set | 1071 When editing a search pattern for a "/" or "?" command and 'incsearch' is set |
1054 CTRL-L can be used to add a character from the current match. CTRL-R CTRL-W | 1072 CTRL-L can be used to add a character from the current match. CTRL-R CTRL-W |
1055 will add a word, but exclude the part of the word that was already typed. | 1073 will add a word, but exclude the part of the word that was already typed. |
1056 | 1074 |
1057 Ruby interface: add line number methods. (Ryan Paul) | 1075 Ruby interface: add line number methods. (Ryan Paul) |
1076 | |
1077 The $MYVIMRC environment variable is set to the first found vimrc file. | |
1078 The $MYGVIMRC environment variable is set to the first found gvimrc file. | |
1058 | 1079 |
1059 ============================================================================== | 1080 ============================================================================== |
1060 IMPROVEMENTS *improvements-7* | 1081 IMPROVEMENTS *improvements-7* |
1061 | 1082 |
1062 ":helpgrep" accepts a language specifier after the pattern: "pat@it". | 1083 ":helpgrep" accepts a language specifier after the pattern: "pat@it". |
2181 Yu-sung, 2005 March 21) | 2202 Yu-sung, 2005 March 21) |
2182 | 2203 |
2183 Ruby interface: when inserting/deleting lines display wasn't updated. (Ryan | 2204 Ruby interface: when inserting/deleting lines display wasn't updated. (Ryan |
2184 Paul) | 2205 Paul) |
2185 | 2206 |
2186 --- fixes since Vim 6.0b --- | 2207 --- fixes since Vim 7.0b --- |
2187 | 2208 |
2188 Getting the GCC version in configure didn't work with Solaris sed. First | 2209 Getting the GCC version in configure didn't work with Solaris sed. First |
2189 strip any "darwin." and then get the version number. | 2210 strip any "darwin." and then get the version number. |
2190 | 2211 |
2191 The "autoload" directory was missing from the self-installing executable for | 2212 The "autoload" directory was missing from the self-installing executable for |
2215 The time on undo messages disappeared for someone. Using %T for strftime() | 2236 The time on undo messages disappeared for someone. Using %T for strftime() |
2216 apparently doesn't work everywhere. Use %H:%M:%S instead. | 2237 apparently doesn't work everywhere. Use %H:%M:%S instead. |
2217 | 2238 |
2218 Typing BS at the "z=" prompt removed the prompt. | 2239 Typing BS at the "z=" prompt removed the prompt. |
2219 | 2240 |
2220 --- fixes since Vim 6.0c --- | 2241 --- fixes since Vim 7.0c --- |
2221 | 2242 |
2222 When jumping to another tab page the Vim window size was always set, even when | 2243 When jumping to another tab page the Vim window size was always set, even when |
2223 nothing in the layout changed. | 2244 nothing in the layout changed. |
2224 | 2245 |
2225 Win32 GUI tab pages line wasn't always enabled. Do a proper check for the | 2246 Win32 GUI tab pages line wasn't always enabled. Do a proper check for the |
2253 line. | 2274 line. |
2254 | 2275 |
2255 Win32: Set the default for 'isprint' back to the wrong default "@,~-255", | 2276 Win32: Set the default for 'isprint' back to the wrong default "@,~-255", |
2256 because many people use Windows-1252 while 'encoding' is "latin1". | 2277 because many people use Windows-1252 while 'encoding' is "latin1". |
2257 | 2278 |
2279 GTK: Added a workaround for gvim crashing when used over an untrusted ssh | |
2280 link, caused by GTK doing something nasty. (Ed Catmur) | |
2281 | |
2282 Win32: The font used for the tab page labels is too big. Use the system menu | |
2283 font. (George Reilly) | |
2284 | |
2285 Win32: Adjusting the window position and size to keep it on the screen didn't | |
2286 work properly when the taskbar is on the left or top of the screen. | |
2287 | |
2288 The installman.sh and installml.sh scripts use ${10}, that didn't work with | |
2289 old shells. And use "test -f" instead of "test -e". | |
2290 | |
2291 Win32: When 'encoding' was set in the vimrc then a directory argument for diff | |
2292 mode didn't work. | |
2293 | |
2294 GUI: at the inputlist() prompt the cursorshape was adjusted as if the windows | |
2295 were still at their old position. | |
2296 | |
2297 The parenmatch plugin didn't remember the highlighting per window. | |
2298 | |
2299 Using ":bd" for a buffer that's the current window in another tab page caused | |
2300 a crash. | |
2301 | |
2302 For a new tab page the 'scroll' option wasn't set to a good default. | |
2303 | |
2304 Using an end offset for a search "/pat/e" didn't work properly for multi-byte | |
2305 text. (Yukihiro Nakadaira) | |
2306 | |
2307 ":s/\n/,/" doubled the text when used on the last line. | |
2308 | |
2309 When "search" is in 'foldopen' "[s" and "]s" now open folds. | |
2310 | |
2311 When using a numbered function "dict" can be omitted, but "self" didn't work | |
2312 then. Always add FC_DICT to the function flags when it's part of a | |
2313 dictionary. | |
2314 | |
2315 When "--remote-tab" executes locally it left an empty tab page. | |
2316 | |
2317 "gvim -u NONE", ":set cursorcolumn", "C" in the second line didn't update | |
2318 text. Do update further lines even though the "$" is displayed. | |
2319 | |
2320 VMS: Support GTK better, also enable +clientserver. (Zoltan Arpadffy) | |
2321 | |
2322 When highlighting of statusline or tabline is changed there was no redraw to | |
2323 show the effect. | |
2324 | |
2325 Mac: Added "CFBundleIdentifier" to infplist.xml. | |
2326 | |
2327 Added tabpage-local variables t:var. | |
2328 | |
2329 Win32: Added double-click in tab pages line creates new tab. (Yegappan | |
2330 Lakshmanan) | |
2331 | |
2332 Motif: Added GUI tab pages line. (Yegappan Lakshmanan) | |
2333 | |
2334 Fixed crash when 'lines' was set to 1000 in a modeline. | |
2335 | |
2336 When init_spellfile() finds a writable directory in 'runtimepath' but it | |
2337 doesn't contain a "spell" directory, create one. | |
2338 | |
2339 Win32: executable() also finds "xxd" in the directory where Vim was started, | |
2340 but "!xxd" doesn't work. Append the Vim starting directory to $PATH. | |
2341 | |
2342 The tab page labels are shortened, directory names are reduced to a single | |
2343 letter by default. Added the pathshorten() function to allow a user to do the | |
2344 same. | |
2345 | |
2346 ":saveas" now resets 'readonly' if the file was successfully written. | |
2347 | |
2348 Set $MYVIMRC file to the first found .vimrc file. | |
2349 Set $MYGVIMRC file to the first found .gvimrc file. | |
2350 Added menu item "Startup Settings" that edits the $MYVIMRC file | |
2351 | |
2352 Added matcharg(). | |
2353 | |
2354 Error message E745 appeared twice. Renamed one to E786. | |
2355 | |
2356 Fixed crash when using "au BufRead * Sexplore" and doing ":help". Was wiping | |
2357 out a buffer that's still in a window. | |
2358 | |
2359 ":hardcopy" resulted in an error message when 'encoding' is "utf-8" and | |
2360 'printencoding' is empty. Now it assumes latin1. (Mike Williams) | |
2361 | |
2362 The check for the toolbar feature for Motif, depending on certain included | |
2363 files, wasn't detailed enough, causing building to fail in gui_xmebw.c. | |
2364 | |
2365 Using CTRL-E in Insert mode completion after CTRL-P inserted the first match | |
2366 instead of the original text. | |
2367 | |
2368 When displaying a UTF-8 character with a zero lower byte Vim might think the | |
2369 previous character is double-wide. | |
2370 | |
2371 The "nbsp" item of 'listchars' didn't work when 'encoding' was utf-8. | |
2372 | |
2373 Motif: when Xm/xpm.h is missing gui_xmebw.c would not compile. | |
2374 HAVE_XM_UNHIGHLIGHTT_H was missing a T. | |
2375 | |
2376 Mac: Moved the .icns files into src/os_mac_rsrc, so that they can all be | |
2377 copied at once. Adjusted the Info.plist file for three icons. | |
2378 | |
2379 When Visual mode is active while switching to another tabpage could get ml_get | |
2380 errors. | |
2381 | |
2382 When 'list' is set, 'nowrap' the $ in the first column caused 'cursorcolumn' | |
2383 to move to the right. | |
2384 | |
2385 When a line wraps, 'cursorcolumn' was never displayed past the end of the | |
2386 line. | |
2387 | |
2258 vim:tw=78:ts=8:ft=help:norl: | 2388 vim:tw=78:ts=8:ft=help:norl: |