summaryrefslogtreecommitdiffstats
path: root/runtime/menu.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-02-03 15:27:20 +0100
committerBram Moolenaar <Bram@vim.org>2019-02-03 15:27:20 +0100
commit314dd79cac2adc10304212d1980d23ecf6782cfc (patch)
tree8295f63e75dc7e7983500435f5b2af061264cb80 /runtime/menu.vim
parent63d1fea8141c3dfb36aeb9de60e5f1f90450acff (diff)
Update runtime files.
Diffstat (limited to 'runtime/menu.vim')
-rw-r--r--runtime/menu.vim22
1 files changed, 10 insertions, 12 deletions
diff --git a/runtime/menu.vim b/runtime/menu.vim
index a6ecf3ce52..e1a510fce3 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: 2018 May 17
+" Last Change: 2019 Jan 27
" 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.
@@ -856,17 +856,15 @@ an 70.300 &Window.&New<Tab>^Wn <C-W>n
an 70.310 &Window.S&plit<Tab>^Ws <C-W>s
an 70.320 &Window.Sp&lit\ To\ #<Tab>^W^^ <C-W><C-^>
an 70.330 &Window.Split\ &Vertically<Tab>^Wv <C-W>v
-if has("vertsplit")
- an <silent> 70.332 &Window.Split\ File\ E&xplorer :call MenuExplOpen()<CR>
- if !exists("*MenuExplOpen")
- fun MenuExplOpen()
- if @% == ""
- 20vsp .
- else
- exe "20vsp " . s:FnameEscape(expand("%:p:h"))
- endif
- endfun
- endif
+an <silent> 70.332 &Window.Split\ File\ E&xplorer :call MenuExplOpen()<CR>
+if !exists("*MenuExplOpen")
+ fun MenuExplOpen()
+ if @% == ""
+ 20vsp .
+ else
+ exe "20vsp " . s:FnameEscape(expand("%:p:h"))
+ endif
+ endfun
endif
an 70.335 &Window.-SEP1- <Nop>
an 70.340 &Window.&Close<Tab>^Wc :confirm close<CR>