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
:3,5bd[elete]
Will delete buffer range from 3 to 5 .