Mercurial > vim
diff src/edit.c @ 164:8b0ee9d57d7f
updated for version 7.0050
author | vimboss |
---|---|
date | Sat, 12 Feb 2005 14:29:27 +0000 |
parents | 6df0106fc595 |
children | 7e70fc748752 |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -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 */