Mercurial > vim
diff src/getchar.c @ 6098:975d96776111 v7.4.387
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.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 30 Jul 2014 16:00:58 +0200 |
parents | dbd7dc1ea2e6 |
children | 4f7f236d773d |
line wrap: on
line diff
--- 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;