diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-02-04 00:57:42 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-02-04 00:57:42 +0000 |
commit | 986920760e65384efdbe7158231849ab422ddae3 (patch) | |
tree | fa45fb5e4db9f1545e8db12a4c46be7f822f415b /runtime/menu.vim | |
parent | 49315f65c985a72c2aac55b883f5ef1195c53ddc (diff) | |
download | vim-git-986920760e65384efdbe7158231849ab422ddae3.tar.gz |
updated for version 7.0192
Diffstat (limited to 'runtime/menu.vim')
-rw-r--r-- | runtime/menu.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/menu.vim b/runtime/menu.vim index d31e1ce79..9dc3766ec 100644 --- a/runtime/menu.vim +++ b/runtime/menu.vim @@ -2,7 +2,7 @@ " You can also use this as a start for your own set of menus. " " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2006 Jan 27 +" Last Change: 2006 Feb 02 " Note that ":an" (short for ":anoremenu") is often used to make a menu work " in all modes and avoid side effects from mappings defined by the user. @@ -140,14 +140,14 @@ if has("virtualedit") func! <SID>Paste() let ove = &ve set ve=all - normal `^ + normal! `^ if @+ != '' - normal "+gP + normal! "+gP endif let c = col(".") - normal i + normal! i if col(".") < c " compensate for i<ESC> moving the cursor left - normal l + normal! l endif let &ve = ove endfunc |