mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +00:00
vim-patch:7.4.387
Problem: "4gro" replaces one character then executes "ooo". (Urtica Dioica) Solution: Write the ESC in the second stuff buffer. https://code.google.com/p/vim/source/detail?r=v7-4-387
This commit is contained in:
@@ -6919,8 +6919,9 @@ ins_esc (
|
||||
State &= ~REPLACE_FLAG;
|
||||
|
||||
(void)start_redo_ins();
|
||||
if (cmdchar == 'r' || cmdchar == 'v')
|
||||
stuffReadbuff(ESC_STR); /* no ESC in redo buffer */
|
||||
if (cmdchar == 'r' || cmdchar == 'v') {
|
||||
stuffRedoReadbuff(ESC_STR); // No ESC in redo buffer
|
||||
}
|
||||
++RedrawingDisabled;
|
||||
disabled_redraw = TRUE;
|
||||
return FALSE; /* repeat the insert */
|
||||
|
Reference in New Issue
Block a user