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:
Naveen Kumar Molleti
2014-09-15 00:54:39 +05:30
parent 0838b97739
commit 4f3d49d921
6 changed files with 30 additions and 4 deletions

View File

@@ -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 */