comparison runtime/doc/map.txt @ 32369:ffbae151e462 v9.0.1516

patch 9.0.1516: cannot use special keys in <Cmd> mapping Commit: https://github.com/vim/vim/commit/3ab3a864814f903da8a158c01820e4fbe1013c08 Author: zeertzjq <zeertzjq@outlook.com> Date: Sat May 6 16:22:04 2023 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Sat, 06 May 2023 17:30:03 +0200
parents b2e8663e6dcc
children 2a17771529af
comparison
equal deleted inserted replaced
32368:2992e4adb0da 32369:ffbae151e462
405 405
406 *E1255* *E1136* 406 *E1255* *E1136*
407 <Cmd> and <ScriptCmd> commands must terminate, that is, they must be followed 407 <Cmd> and <ScriptCmd> commands must terminate, that is, they must be followed
408 by <CR> in the {rhs} of the mapping definition. |Command-line| mode is never 408 by <CR> in the {rhs} of the mapping definition. |Command-line| mode is never
409 entered. 409 entered.
410
411 *E1137*
412 <Cmd> and <ScriptCmd> commands can have only normal characters and cannot
413 contain special characters like function keys.
414 410
415 411
416 1.3 MAPPING AND MODES *:map-modes* 412 1.3 MAPPING AND MODES *:map-modes*
417 *mapmode-nvo* *mapmode-n* *mapmode-v* *mapmode-o* 413 *mapmode-nvo* *mapmode-n* *mapmode-v* *mapmode-o*
418 414