Vim: Open new explorer tab with the directory of the file you're currently on
Alternatively to :tabe %:h
, there is also
:Texplore
or simply :Te
:tabe %:h
Opens a tab, editing the 'head of current file-name' (%
is the name of the current file, :
adds modifiers, and h
is the basename/head modifier), that is the directory.