From 4f5ce33d415a0eeedd7f04baa6715431e72652e1 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 30 Jul 2014 16:00:58 +0200 Subject: updated for version 7.4.387 Problem: "4gro" replaces one character then executes "ooo". (Urtica Dioica) Solution: Write the ESC in the second stuff buffer. --- src/getchar.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/getchar.c') diff --git a/src/getchar.c b/src/getchar.c index 9c1ab0f4bd..d646dc4c15 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -678,6 +678,17 @@ stuffReadbuff(s) add_buff(&readbuf1, s, -1L); } +/* + * Append string "s" to the redo stuff buffer. + * CSI and K_SPECIAL must already have been escaped. + */ + void +stuffRedoReadbuff(s) + char_u *s; +{ + add_buff(&readbuf2, s, -1L); +} + void stuffReadbuffLen(s, len) char_u *s; -- cgit v1.2.3