aboutsummaryrefslogtreecommitdiff
path: root/runtime/menu.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-07-29 03:16:37 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-07-29 20:50:07 +0200
commit57fa9add79faa1c34d71bf19f1c0cd0380059954 (patch)
treeb88ccea250e9234a4eb4c57a0f7f24ef6c3f6938 /runtime/menu.vim
parentb5cb6c743afea565a2586490fc5a5b151ddbbfbb (diff)
downloadrneovim-57fa9add79faa1c34d71bf19f1c0cd0380059954.tar.gz
rneovim-57fa9add79faa1c34d71bf19f1c0cd0380059954.tar.bz2
rneovim-57fa9add79faa1c34d71bf19f1c0cd0380059954.zip
vim-patch:314dd79cac2a
Update runtime files. https://github.com/vim/vim/commit/314dd79cac2adc10304212d1980d23ecf6782cfc
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 5e4bd1f11b..3756787e7f 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.
@@ -853,17 +853,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>