]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(menu): define shortcut for File->Open Tab (#12895)
authorChristian Brabandt <cb@256bit.org>
Wed, 23 Aug 2023 16:07:55 +0000 (17:07 +0100)
committerGitHub <noreply@github.com>
Wed, 23 Aug 2023 16:07:55 +0000 (17:07 +0100)
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>
runtime/menu.vim

index 6d12bcd035f07359f74cd5d0a6ce9725f0b429fa..59879d127e8f777ab7d82a94db161dda20463b2c 100644 (file)
@@ -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>