Assuming I have multiple files opened as buffers in Vim. The files have *.cpp, *.h and some are *.xml. I want to close all the XML files w
*.cpp
*.h
*.xml
You can use to complete all matches. So if you type :bd *.xml and then hit , vim will complete the command to :bd file1.xml file2.xml file3.xml.
:bd *.xml
:bd file1.xml file2.xml file3.xml