From: Christian Brabandt Date: Wed, 23 Aug 2023 16:07:55 +0000 (+0100) Subject: runtime(menu): define shortcut for File->Open Tab (#12895) X-Git-Tag: v9.0.1784~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e059fae100448fee4b581dd5d90ee853ea18de7e;p=thirdparty%2Fvim.git runtime(menu): define shortcut for File->Open Tab (#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 Co-authored-by: Antonio Giovanni Colombo --- diff --git a/runtime/menu.vim b/runtime/menu.vim index 6d12bcd035..59879d127e 100644 --- a/runtime/menu.vim +++ b/runtime/menu.vim @@ -122,7 +122,7 @@ enddef " File menu an 10.310 &File.&Open\.\.\.:e :browse confirm e an 10.320 &File.Sp&lit-Open\.\.\.:sp :browse sp -an 10.320 &File.Open\ Tab\.\.\.:tabnew :browse tabnew +an 10.320 &File.Open\ &Tab\.\.\.:tabnew :browse tabnew an 10.325 &File.&New:enew :confirm enew an 10.330 &File.&Close:close \ :if winheight(2) < 0 && tabpagewinnr(2) == 0