commit | 3ab3a864814f903da8a158c01820e4fbe1013c08 | [log] [tgz] |
---|---|---|
author | zeertzjq <zeertzjq@outlook.com> | Sat May 06 16:22:04 2023 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat May 06 16:22:04 2023 +0100 |
tree | bcbd4d89d2496377bf29c708306b4c45807dbe58 | |
parent | 03ff1c2dde7f15eca5c9baa6dafbda9b49bedc3b [diff] [blame] |
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)
diff --git a/src/ops.c b/src/ops.c index 33fedba..4c64e05 100644 --- a/src/ops.c +++ b/src/ops.c
@@ -3701,7 +3701,7 @@ ResetRedobuff(); else { - AppendToRedobuffLit(repeat_cmdline, -1); + AppendToRedobuffSpec(repeat_cmdline); AppendToRedobuff(NL_STR); VIM_CLEAR(repeat_cmdline); }