diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-29 22:01:03 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-29 22:01:03 +0000 |
commit | 06a89a51592d300396f2f846d1983df5029931be (patch) | |
tree | 6a0d97b40132d0eabb19b8419c190b1a10fb64bf /src/edit.c | |
parent | d8fc5c0b999204f47efd7702502b41ead11948a4 (diff) |
updated for version 7.0f05
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c index 296e91545c..90b3b69719 100644 --- 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; |