Mercurial > vim
diff src/edit.c @ 853:d10fbefd3bc1
updated for version 7.0f05
author | vimboss |
---|---|
date | Sat, 29 Apr 2006 22:01:03 +0000 |
parents | db44f7b81373 |
children | b933657f7c9d |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -925,6 +925,15 @@ doESCkey: if (echeck_abbr(Ctrl_O + ABBR_OFF)) break; ins_ctrl_o(); + +#ifdef FEAT_VIRTUALEDIT + /* don't move the cursor left when 'virtualedit' has "onemore". */ + if (ve_flags & VE_ONEMORE) + { + ins_at_eol = FALSE; + nomove = TRUE; + } +#endif count = 0; goto doESCkey;