aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-03-03 21:59:28 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-03-03 22:41:09 +0800
commite8107f07486ce9dffdc020baf12836e55bf90ce5 (patch)
tree1c31b0eddbfe3c87c644a8c676a1c24a334ce65f /runtime
parent7211d8ef21cd93365c5f0582c5a0115e84c011ce (diff)
downloadrneovim-e8107f07486ce9dffdc020baf12836e55bf90ce5.tar.gz
rneovim-e8107f07486ce9dffdc020baf12836e55bf90ce5.tar.bz2
rneovim-e8107f07486ce9dffdc020baf12836e55bf90ce5.zip
vim-patch:8.2.4498: using <Plug> with "noremap" does not work
Problem: Using <Plug> with "noremap" does not work. Solution: Always remap <Plug>. (closes vim/vim#9879, closes vim/vim#9789) https://github.com/vim/vim/commit/1fc34225acbee5ddca2b9ec3f82b3014d385b7f8
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/map.txt4
-rw-r--r--runtime/doc/vim_diff.txt4
2 files changed, 2 insertions, 6 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index 8715c3231c..b874d6dc61 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -65,8 +65,8 @@ modes.
where the map command applies. Disallow mapping of
{rhs}, to avoid nested and recursive mappings. Often
used to redefine a command.
- Note: A mapping whose {lhs} starts with <Plug> is
- always applied even if mapping is disallowed.
+ Note: When <Plug> appears in the {rhs} this part is
+ always applied even if remapping is disallowed.
:unm[ap] {lhs} |mapmode-nvo| *:unm* *:unmap*
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index 90f56e2566..5ea6a9c5dd 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -358,10 +358,6 @@ Macro/|recording| behavior
macros and 'keymap' at the same time. This also means you can use |:imap| on
the results of keys from 'keymap'.
-Mappings:
-- A mapping whose {lhs} starts with <Plug> is always applied even if mapping
- is disallowed by |nore|.
-
Motion:
The |jumplist| avoids useless/phantom jumps.