diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-16 14:46:06 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-16 14:46:06 +0000 |
commit | fd31be29b8220ee1cb0b3460c82f2634ae3cc370 (patch) | |
tree | 93ad5a4e32bbbbd52b42226ffdf05c4b03f10b6e /runtime/doc/map.txt | |
parent | c81e9bf4f07d350b860b934aa6bf0c2a7c91d07e (diff) |
Update runtime files
Diffstat (limited to 'runtime/doc/map.txt')
-rw-r--r-- | runtime/doc/map.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 1072d56ce9..2727a4ccde 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1,4 +1,4 @@ -*map.txt* For Vim version 8.2. Last change: 2022 Jan 03 +*map.txt* For Vim version 8.2. Last change: 2022 Jan 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -270,7 +270,7 @@ input. Example: > endfunc nnoremap <expr> <F3> <SID>OpenPopup() -Also, keep in mind that the expression may be evaluated when looking for +Keep in mind that the expression may be evaluated when looking for typeahead, before the previous command has been executed. For example: > func StoreColumn() let g:column = col('.') @@ -353,7 +353,7 @@ useful for |Vim9| script. It also works to access an import, which is useful in a plugin using an autoload script: > vim9script import autoload 'implementation.vim' as impl - nnoremap <silent> <F4> <ScriptCmd>impl.DoTheWork()<CR> + nnoremap <F4> <ScriptCmd>impl.DoTheWork()<CR> No matter where <F4> is typed, the "impl" import will be found in the script context of where the mapping was defined. And since it's an autoload import, |