diff options
Diffstat (limited to 'runtime/doc/version7.txt')
-rw-r--r-- | runtime/doc/version7.txt | 46 |
1 files changed, 34 insertions, 12 deletions
diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt index a7d39a002..694e5f117 100644 --- a/runtime/doc/version7.txt +++ b/runtime/doc/version7.txt @@ -1,4 +1,4 @@ -*version7.txt* For Vim version 7.0aa. Last change: 2006 Mar 18 +*version7.txt* For Vim version 7.0aa. Last change: 2006 Mar 20 VIM REFERENCE MANUAL by Bram Moolenaar @@ -36,6 +36,7 @@ Debugger support |new-debug-support| Remote file explorer |new-netrw-explore| Define an operator |new-define-operator| Mapping to an expression |new-map-expression| +Visual and Select mode mappings |new-map-select| Location list |new-location-list| Various new items |new-items-7| @@ -143,6 +144,10 @@ difficult to locate errors. Now the line number in the sourced file is reported, relative to the function start. This also means that line numbers for ":breakadd func" are different. +When defining a user command with |:command| the special items could be +abbreviated. This caused unexpected behavior, such as <li> being recognized +as <line1>. The items can no longer be abbreviated. + ============================================================================== NEW FEATURES *new-7* @@ -161,8 +166,8 @@ The |string()| function can be used to get a string representation of a variable. Works for Numbers, Strings and composites of them. Then |eval()| can be used to turn the string back into the variable value. -The |:let| command can now use ":let var += expr" like using ":let var = var + -expr". "-=" and ".=" works in a similar way. +The |:let| command can now use "+=". ":let var += expr" works like +":let var = var + expr". "-=" and ".=" works in a similar way. With the |:profile| command you can find out where your function or script wastes its time. @@ -493,6 +498,20 @@ Here the dot will be mapped to whatever InsertDot() returns. Also works for abbreviations. See |:map-<expr>| for the details. +Visual and Select mode mappings *new-map-select* +------------------------------- + +Previously Visual mode mappings applied both to Visual and Select mode. With +a trick to have the mappings work in Select mode like they would in Visual +mode. + +Commands have been added to define mappings for Visual and Select mode +separately: |:xmap| and |:smap|. With the associated "noremap" and "unmap" +commands. + +The same is done for menus: |:xmenu|, |:smenu|, etc. + + Location list *new-location-list* ------------- @@ -1103,6 +1122,13 @@ getwinvar() now also works to obtain a buffer-local option from the specified window. Added the "%s" item to 'errorformat'. (Yegappan Lakshmanan) +Added the "%>" item to 'errorformat'. + +For 'errorformat' it was not possible to have a file name that contains the +character that follows after "%f". For example, in "%f:%l:%m" the file name +could not contain ":". Now include the first ":" where the rest of the +pattern matches. In the example a ":" not followed by a line number is +included in the file name. (suggested by Emanuele Giaquinta) GTK GUI: use the GTK file dialog when it's available. Mix from patches by Grahame Bowland and Evan Webb. @@ -1133,12 +1159,6 @@ Lakshmanan) Win32: Balloons can have multiple lines if common controls supports it. (Sergey Khorev) -For 'errorformat' it was not possible to have a file name that contains the -character that follows after "%f". For example, in "%f:%l:%m" the file name -could not contain ":". Now include the first ":" where the rest of the -pattern matches. In the example a ":" not followed by a line number is -included in the file name. (suggested by Emanuele Giaquinta) - For command-line completion the matches for various types of arguments are now sorted: user commands, variables, syntax names, etc. @@ -1233,6 +1253,8 @@ Win32: In the batch files generated by the install program, use $VIMRUNTIME or $VIM if it's set. Example provided by Mathias Michaelis. Also create a vimtutor.bat batch file. +The 'balloonexpr' option is now |global-local|. + ============================================================================== COMPILE TIME CHANGES *compile-changes-7* @@ -1384,9 +1406,6 @@ just before it is invoked VMS: Occasionally CR characters were inserted in the file. Expansion of environment variables was not correct. (Zoltan Arpadffy) -VMS: Improved low level char input (affects just console mode). (Zoltan -Arpadffy) - UTF-8: When 'delcombine' is set "dw" only deleted the last combining character from the first character of the word. @@ -1733,6 +1752,9 @@ change the window size ourselves, but they may come at an unexpected moment. Peek for a character to get any window resize events and fix 'columns' and 'lines' to undo this. +When using the GTK plug mechanism, resizing and focus was not working +properly. (Neil Bird) + After deleting files from the argument list a session file generated with ":mksession" may contain invalid ":next" commands. |