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/eval.txt | |
parent | 4770d09abd866bb53d95895dc6a5c5fe7cccb619 (diff) | |
download | vim-a40ceaf88a6e2fbea7022dd84cd8dd5d903699e7.zip |
updated for version 7.0180
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r-- | runtime/doc/eval.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 4c527e1a1..dfab7c907 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.0aa. Last change: 2006 Jan 09 +*eval.txt* For Vim version 7.0aa. Last change: 2006 Jan 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -3273,6 +3273,10 @@ maparg({name}[, {mode}]) *maparg()* translated like in the output of the ":map" command listing. The mappings local to the current buffer are checked first, then the global mappings. + This function can be used to map a key even when it's already + mapped, and have it do the original mapping too. Sketch: > + exe 'nnoremap <Tab> ==' . maparg('<Tab>', 'n') + mapcheck({name}[, {mode}]) *mapcheck()* Check if there is a mapping that matches with {name} in mode |