Mercurial > vim
diff src/ops.c @ 773:8c9ef63b1ccc
updated for version 7.0226
author | vimboss |
---|---|
date | Thu, 16 Mar 2006 21:43:34 +0000 |
parents | 0f9f4761ad9c |
children | f664cc974a7a |
line wrap: on
line diff
--- a/src/ops.c +++ b/src/ops.c @@ -3733,6 +3733,9 @@ end: /* If the cursor is past the end of the line put it at the end. */ if (gchar_cursor() == NUL && curwin->w_cursor.col > 0 +#ifdef FEAT_VIRTUALEDIT + && (ve_flags & VE_ONEMORE) == 0 +#endif && !(restart_edit || (State & INSERT))) { /* Put the cursor on the last character in the line. */