mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
updated for version 7.0050
This commit is contained in:
@@ -6270,6 +6270,10 @@ ins_esc(count, cmdchar)
|
||||
|
||||
if (--*count > 0) /* repeat what was typed */
|
||||
{
|
||||
/* Vi repeats the insert without replacing characters. */
|
||||
if (vim_strchr(p_cpo, CPO_REPLCNT) != NULL)
|
||||
State &= ~REPLACE_FLAG;
|
||||
|
||||
(void)start_redo_ins();
|
||||
if (cmdchar == 'r' || cmdchar == 'v')
|
||||
stuffReadbuff(ESC_STR); /* no ESC in redo buffer */
|
||||
|
Reference in New Issue
Block a user