diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-01-13 22:35:40 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-01-13 22:35:40 +0000 |
commit | a40ceaf88a6e2fbea7022dd84cd8dd5d903699e7 (patch) | |
tree | 204e108bdab14c1f09ce1746ac7b432f19fc5af7 /runtime/doc/map.txt | |
parent | 4770d09abd866bb53d95895dc6a5c5fe7cccb619 (diff) | |
download | vim-git-a40ceaf88a6e2fbea7022dd84cd8dd5d903699e7.tar.gz |
updated for version 7.0180v7.0180
Diffstat (limited to 'runtime/doc/map.txt')
-rw-r--r-- | runtime/doc/map.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 85155b439..3f83a252d 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1,4 +1,4 @@ -*map.txt* For Vim version 7.0aa. Last change: 2006 Jan 09 +*map.txt* For Vim version 7.0aa. Last change: 2006 Jan 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -191,6 +191,8 @@ already exists which is equal. Example of what will fail: > :map ,w /[#&!]<CR> :map <buffer> <unique> ,w /[.,;]<CR> +If you want to map a key and then have it do what it was originally mapped to, +have a look at |maparg()|. "<buffer>", "<silent>", "<script>" and "<unique>" can be used in any order. They must appear right after the command, before any other arguments. @@ -639,7 +641,7 @@ you must create mapping that first sets the 'operatorfunc' option and then invoke the |g@| operator. After the user types the {motion} command the specified function will be called. - *g@* + *g@* *E774* *E775* g@{motion} Call the function set by the 'operatorfunc' option. The '[ mark is positioned at the start of the text moved over by {motion}, the '] mark on the last |