diff runtime/menu.vim @ 32968:1902f8e697ed

runtime(menu): define shortcut for File->Open Tab (#12895) Commit: https://github.com/vim/vim/commit/e059fae100448fee4b581dd5d90ee853ea18de7e Author: Christian Brabandt <cb@256bit.org> Date: Wed Aug 23 17:07:55 2023 +0100 runtime(menu): define shortcut for File->Open Tab (https://github.com/vim/vim/issues/12895) Seems missing as noted by Antonio Giovanni Colombo. So add it and use the 'T' as shortcut, which does not seem to be used in the File dialog. Verified on Windows. Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Antonio Giovanni Colombo <azc100@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Wed, 23 Aug 2023 18:15:04 +0200
parents 4027cefc2aab
children
line wrap: on
line diff
--- a/runtime/menu.vim
+++ b/runtime/menu.vim
@@ -122,7 +122,7 @@ enddef
 " File menu
 an 10.310 &File.&Open\.\.\.<Tab>:e		:browse confirm e<CR>
 an 10.320 &File.Sp&lit-Open\.\.\.<Tab>:sp	:browse sp<CR>
-an 10.320 &File.Open\ Tab\.\.\.<Tab>:tabnew	:browse tabnew<CR>
+an 10.320 &File.Open\ &Tab\.\.\.<Tab>:tabnew	:browse tabnew<CR>
 an 10.325 &File.&New<Tab>:enew			:confirm enew<CR>
 an <silent> 10.330 &File.&Close<Tab>:close
 	\ :if winheight(2) < 0 && tabpagewinnr(2) == 0 <Bar>