diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-23 22:40:29 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-23 22:40:29 +0000 |
commit | 4a85b4156098a30daf5b15a7fb7587a1c7c99f94 (patch) | |
tree | a1874218752c56897f955c24b012836b8c9e80f8 /runtime/doc/eval.txt | |
parent | eb3593b38b7b6b658e93ad05d6caf76d58cc0c35 (diff) | |
download | vim-4a85b4156098a30daf5b15a7fb7587a1c7c99f94.zip |
updated for version 7.0e07
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r-- | runtime/doc/eval.txt | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 4fff9d0a9..0a9f90c45 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.0e. Last change: 2006 Apr 21 +*eval.txt* For Vim version 7.0e. Last change: 2006 Apr 23 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1664,6 +1664,7 @@ pathshorten( {expr}) String shorten directory names in a path prevnonblank( {lnum}) Number line nr of non-blank line <= {lnum} printf( {fmt}, {expr1}...) String format text pumvisible() Number whether popup menu is visible +pushkeys( {string} [, {mode}]) Number add key sequence to typeahead buffer range( {expr} [, {max} [, {stride}]]) List items from {expr} to {max} readfile({fname} [, {binary} [, {max}]]) @@ -3795,6 +3796,23 @@ pumvisible() *pumvisible()* This can be used to avoid some things that would remove the popup menu. +pushkeys({string} [, {mode}]) *pushkeys()* + Characters in {string} are queued for processing as if they + were typed by user. They are added to the end of the + typeahead buffer, thus if a mapping is still being executed + these characters come after them. + The function does not wait for processing of keys contained in + {string}. + To include special keys into {string}, use double-quotes + and "\..." notation |expr-quote|. For example, + pushkeys("\<CR>") simulates pressing of the Enter key. But + pushkeys('\<CR>') pushes 5 characters. + If {mode} is absent, keys are remapped. + {mode} is a String, which can contain these character flags: + 'm' remap keys. This is default. + 'n' do not remap keys + Return value is always 0. + *E726* *E727* range({expr} [, {max} [, {stride}]]) *range()* Returns a |List| with Numbers: |