commit | 06a89a51592d300396f2f846d1983df5029931be | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Apr 29 22:01:03 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Apr 29 22:01:03 2006 +0000 |
tree | 6a0d97b40132d0eabb19b8419c190b1a10fb64bf | |
parent | d8fc5c0b999204f47efd7702502b41ead11948a4 [diff] [blame] |
updated for version 7.0f05
diff --git a/src/edit.c b/src/edit.c index 296e915..90b3b69 100644 --- a/src/edit.c +++ b/src/edit.c
@@ -925,6 +925,15 @@ 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;