1
0
forked from aniani/vim

patch 8.2.2062: <Cmd> does not handle CTRL-V

Problem:    <Cmd> does not handle CTRL-V.
Solution:   Call get_literal() after encountering CTRL-V. (closes #7387)
This commit is contained in:
Bram Moolenaar
2020-11-28 14:43:26 +01:00
parent 4d05af0a64
commit 4a44120e3d
3 changed files with 15 additions and 0 deletions

View File

@@ -3675,6 +3675,14 @@ getcmdkeycmd(
}
c1 = TO_SPECIAL(c1, c2);
}
if (c1 == Ctrl_V)
{
// CTRL-V is followed by octal, hex or other characters, reverses
// what AppendToRedobuffLit() does.
no_reduce_keys = TRUE; // don't merge modifyOtherKeys
c1 = get_literal();
no_reduce_keys = FALSE;
}
if (got_int)
aborted = TRUE;