On Do, 08 Aug 2013, Dimitar DIMITROV wrote: > As per the subject :)
Can you check, whether the attached patch fixes it for you? regards, Christian -- Was die Welt in diesem Augenblick sucht, ist viel weniger ein Gleichgewicht als eine Sprache. -- Jean Giraudoux -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
diff --git a/src/normal.c b/src/normal.c --- a/src/normal.c +++ b/src/normal.c @@ -1089,7 +1089,14 @@ idx = find_command(ca.cmdchar); } else if ((ca.nchar == 'n' || ca.nchar == 'N') && ca.cmdchar == 'g') - ca.oap->op_type = get_op_type(*cp, NUL); + { + int d = NUL; + + if (*cp == 'g' && !stuff_empty()) + d = plain_vgetc(); /* need to get another char */ + + ca.oap->op_type = get_op_type(*cp, d); + } else if (*cp == Ctrl_BSL) { long towait = (p_ttm >= 0 ? p_ttm : p_tm);