Add variants of
:edit and friends that can take a globbing pattern to open
:Edit plugin/*.vim doc/*.doc :Split ??_*.c
:help wildcards for a overview of the globbing patterns interpreted by
Compare this to the default behaviour of
:edit *.vim, which will either:
*.vimif there are no matches;
E77: Too many file namesif there are more than one matches.
Based on my answer here, which also lists some other solutions:
By default it’ll map
:Vsplit. You can use
:cabbr tabe Tabe etc. to use it automatically.
:help globedit for the full documentation.