commit | 4399ef4764584a24080670b4869cb8b5d31a4f78 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Feb 12 14:29:27 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Feb 12 14:29:27 2005 +0000 |
tree | c47e4671d16eeeadc9aa0b9a9cb19576e7c653b9 | |
parent | b11bd7e43f6cdca944dceebaa3c8012d6bf1a74e [diff] [blame] |
updated for version 7.0050
diff --git a/src/edit.c b/src/edit.c index a889736..ae00c2a 100644 --- a/src/edit.c +++ b/src/edit.c
@@ -6270,6 +6270,10 @@ 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 */