diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-11-21 21:13:36 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-21 21:13:36 +0000 |
commit | 88a4205f1cfbdc328e987ab00521fc8a22447fc3 (patch) | |
tree | f1ea704ca6e43c7d64c7bf6a94452d099cdba060 /runtime/doc/map.txt | |
parent | eea32afdb83ae281a63152f7494f79ec7e45ff55 (diff) |
Update runtime files
Diffstat (limited to 'runtime/doc/map.txt')
-rw-r--r-- | runtime/doc/map.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index b700c822ec..981ecf7925 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1,4 +1,4 @@ -*map.txt* For Vim version 8.2. Last change: 2021 Nov 15 +*map.txt* For Vim version 8.2. Last change: 2021 Nov 20 VIM REFERENCE MANUAL by Bram Moolenaar @@ -96,6 +96,9 @@ modes. Remove the mapping of {lhs} for the modes where the map command applies. The mapping may remain defined for other modes where it applies. + It also works when {lhs} matches the {rhs} of a + mapping. This is for when when an abbreviation + applied. Note: Trailing spaces are included in the {lhs}. This unmap does NOT work: > :map @@ foo @@ -346,6 +349,8 @@ Note: - For the same reason, |keycodes| like <C-R><C-W> are interpreted as plain, unmapped keys. - The command is not echo'ed, no need for <silent>. +- The {rhs} is not subject to abbreviations nor to other mappings, even if the + mapping is recursive. - In Visual mode you can use `line('v')` and `col('v')` to get one end of the Visual area, the cursor is at the other end. - In Select mode, |:map| and |:vmap| command mappings are executed in |