0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.0-104

This commit is contained in:
Bram Moolenaar
2006-09-14 09:07:34 +00:00
parent a391707d9f
commit d29a9eefb6
3 changed files with 18 additions and 1 deletions

View File

@@ -707,6 +707,11 @@ edit(cmdchar, startln, count)
lastc = c; /* remember previous char for CTRL-D */
c = safe_vgetc();
#ifdef FEAT_AUTOCMD
/* Don't want K_CURSORHOLD for the second key, e.g., after CTRL-V. */
did_cursorhold = TRUE;
#endif
#ifdef FEAT_RIGHTLEFT
if (p_hkmap && KeyTyped)
c = hkmap(c); /* Hebrew mode mapping */
@@ -1389,6 +1394,12 @@ normalchar:
break;
} /* end of switch (c) */
#ifdef FEAT_AUTOCMD
/* If typed something may trigger CursorHoldI again. */
if (c != K_CURSORHOLD)
did_cursorhold = FALSE;
#endif
/* If the cursor was moved we didn't just insert a space */
if (arrow_used)
inserted_space = FALSE;