comparison src/ops.c @ 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 39f4126d2a0d
children 89679a3f2e09
comparison
equal deleted inserted replaced
32368:2992e4adb0da 32369:ffbae151e462
3699 // won't be possible. 3699 // won't be possible.
3700 if (repeat_cmdline == NULL) 3700 if (repeat_cmdline == NULL)
3701 ResetRedobuff(); 3701 ResetRedobuff();
3702 else 3702 else
3703 { 3703 {
3704 AppendToRedobuffLit(repeat_cmdline, -1); 3704 AppendToRedobuffSpec(repeat_cmdline);
3705 AppendToRedobuff(NL_STR); 3705 AppendToRedobuff(NL_STR);
3706 VIM_CLEAR(repeat_cmdline); 3706 VIM_CLEAR(repeat_cmdline);
3707 } 3707 }
3708 } 3708 }
3709 } 3709 }