mirror of
https://github.com/neovim/neovim.git
synced 2025-12-05 22:22:44 +00:00
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)
1fc34225ac
This commit is contained in:
@@ -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*
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user