comparison src/edit.c @ 75:388f285bda1b

updated for version 7.0031
author vimboss
date Wed, 05 Jan 2005 22:16:17 +0000
parents f529edb9bab3
children bcb347a8f934
comparison
equal deleted inserted replaced
74:1154524da1cd 75:388f285bda1b
6234 } 6234 }
6235 if (!arrow_used) 6235 if (!arrow_used)
6236 { 6236 {
6237 /* 6237 /*
6238 * Don't append the ESC for "r<CR>" and "grx". 6238 * Don't append the ESC for "r<CR>" and "grx".
6239 * When 'insertmode' is set only CTRL-L stops Insert mode. Needed for
6240 * when "count" is non-zero.
6239 */ 6241 */
6240 if (cmdchar != 'r' && cmdchar != 'v') 6242 if (cmdchar != 'r' && cmdchar != 'v')
6241 AppendToRedobuff(ESC_STR); 6243 AppendToRedobuff(p_im ? (char_u *)"\014" : ESC_STR);
6242 6244
6243 /* 6245 /*
6244 * Repeating insert may take a long time. Check for 6246 * Repeating insert may take a long time. Check for
6245 * interrupt now and then. 6247 * interrupt now and then.
6246 */ 6248 */