I mapped @Mihai Capotă soltuion, adding an automatic change directory to current file. Add this line to $HOME/.vimrc file:
nnoremap <C-S-t> :cd<Space>%:p:h<CR>:tabe<CR>:args<Space>*.html<Space>\|<Space>argdo<Space>tabe<Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left>
Code explanation:
<C-S-t>
map to Crtrl-Shit-T (like FireFox is Ctrl-T for new tab)
:cd<Space>%:p:h<CR>
change directory to the one in current file open in VIM, read:
https://vim.fandom.com/wiki/Set_working_directory_to_the_current_file
:tabe<CR>
read @Mihai Capotă soltuion
:args<Space>*.html<Space>\|<Space>argdo<Space>tabe
read same
<Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left>
move cursor to asterisk
To improve:
- the current tap will be a blank (just close it Ctrl-W-q or :q). Ideally this tab should be autoclosed (also from buffer).
- go to previous tap may be easy if you remember it, e.g. if it was 1st tab then just press 1gt or :tabr. Ideally this go to previous should be automatic.
PD: it might be a comment, not a solution, if so, then please comment it, I cannot.
vim -p
was what I was looking for :-)