mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 9.0.1354: "gr CTRL-G" stays in virtual replace mode
Problem: "gr CTRL-G" stays in virtual replace mode. (Pierre Ganty) Solution: Prepend CTRL-V before control characters. (closes #12045)
This commit is contained in:
@@ -3527,6 +3527,10 @@ ins_ctrl_g(void)
|
||||
dont_sync_undo = MAYBE;
|
||||
break;
|
||||
|
||||
case ESC:
|
||||
// Esc after CTRL-G cancels it.
|
||||
break;
|
||||
|
||||
// Unknown CTRL-G command, reserved for future expansion.
|
||||
default: vim_beep(BO_CTRLG);
|
||||
}
|
||||
|
Reference in New Issue
Block a user