diff runtime/doc/version7.txt @ 725:0a9371c70540 v7.0220

updated for version 7.0220
author vimboss
date Fri, 10 Mar 2006 21:46:58 +0000
parents e180933b876a
children 5220ea46cb9a
line wrap: on
line diff
--- 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 09
+*version7.txt*  For Vim version 7.0aa.  Last change: 2006 Mar 10
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -32,6 +32,7 @@ POSIX compatibility			|new-posix|
 Debugger support			|new-debug-support|
 Remote file explorer			|new-netrw-explore|
 Define an operator			|new-define-operator|
+Mapping to an expression		|new-map-expression|
 Location list				|new-location-list|
 Various new items			|new-items-7|
 
@@ -400,6 +401,17 @@ through the |g@| operator.
 See |:map-operator| for the explanation and an example.
 
 
+Mapping to an expression				*new-map-expression*
+------------------------
+
+The {rhs} argument of a mapping can be an expression.  That means the
+resulting characters can depend on the context.  Example: >
+	:inoremap <expr> . InsertDot()
+Here the dot will be mapped to whatever InsertDot() returns.
+
+Also works for abbreviations.  See |:map-<expr>| for the details.
+
+
 Location list						*new-location-list*
 -------------
 
@@ -647,6 +659,9 @@ New autocommand events: ~
 
 |SpellFileMissing|	when a spell file can't be found
 
+|ShellCmdPost|		after executing a shell command
+|ShellFilterPost|	after filtering with a shell command
+
 |SourcePre|		before sourcing a Vim script
 
 |CursorHoldI|		the user doesn't press a key for a while in Insert mode