mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
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 vim/vim#7387)
4a44120e3d
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -2927,6 +2927,11 @@ char *getcmdkeycmd(int promptc, void *cookie, int indent, bool do_concat)
|
||||
}
|
||||
c1 = TO_SPECIAL(c1, c2);
|
||||
}
|
||||
if (c1 == Ctrl_V) {
|
||||
// CTRL-V is followed by octal, hex or other characters, reverses
|
||||
// what AppendToRedobuffLit() does.
|
||||
c1 = get_literal(true);
|
||||
}
|
||||
|
||||
if (got_int) {
|
||||
aborted = true;
|
||||
|
Reference in New Issue
Block a user