Update runtime files
diff --git a/runtime/menu.vim b/runtime/menu.vim
index 11d80b7..8a98d49 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: 2019 Sep 26
+" Last Change: 2019 Nov 10
" 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.
@@ -159,6 +159,9 @@
vnoremenu 20.340 &Edit.Cu&t<Tab>"+x "+x
vnoremenu 20.350 &Edit.&Copy<Tab>"+y "+y
cnoremenu 20.350 &Edit.&Copy<Tab>"+y <C-Y>
+if exists(':tlmenu')
+ tlnoremenu 20.350 &Edit.&Copy<Tab>"+y <C-W>:<C-Y><CR>
+endif
nnoremenu 20.360 &Edit.&Paste<Tab>"+gP "+gP
cnoremenu &Edit.&Paste<Tab>"+gP <C-R>+
if exists(':tlmenu')
@@ -569,7 +572,7 @@
%!mc vim:xxd
else
call s:XxdFind()
- exe '%!"' . g:xxdprogram . '"'
+ exe '%!' . g:xxdprogram
endif
if getline(1) =~ "^0000000:" " only if it worked
set ft=xxd
@@ -583,7 +586,7 @@
%!mc vim:xxd -r
else
call s:XxdFind()
- exe '%!"' . g:xxdprogram . '" -r'
+ exe '%!' . g:xxdprogram . ' -r'
endif
set ft=
doautocmd filetypedetect BufReadPost
@@ -595,6 +598,9 @@
" On the PC xxd may not be in the path but in the install directory
if has("win32") && !executable("xxd")
let g:xxdprogram = $VIMRUNTIME . (&shellslash ? '/' : '\') . "xxd.exe"
+ if g:xxdprogram =~ ' '
+ let g:xxdprogram = '"' .. g:xxdprogram .. '"'
+ endif
else
let g:xxdprogram = "xxd"
endif