patch 9.0.1516: cannot use special keys in <Cmd> mapping

Problem:    Cannot use special keys in <Cmd> mapping.
Solution:   Do allow for special keys in <Cmd> and <ScriptCmd> mappings.
            (closes #12326)
This commit is contained in:
zeertzjq
2023-05-06 16:22:04 +01:00
committed by Bram Moolenaar
parent 03ff1c2dde
commit 3ab3a86481
7 changed files with 61 additions and 34 deletions

View File

@ -408,10 +408,6 @@ Note:
by <CR> in the {rhs} of the mapping definition. |Command-line| mode is never
entered.
*E1137*
<Cmd> and <ScriptCmd> commands can have only normal characters and cannot
contain special characters like function keys.
1.3 MAPPING AND MODES *:map-modes*
*mapmode-nvo* *mapmode-n* *mapmode-v* *mapmode-o*