While I am working (C++) I tend to open multiple files in the editor. e.g. I might open several header files when I follow the F2 command, and so on I can have 20 open source and makefiles open at the same time.
So, is there a command to close all the open files? Right now I have to switch through every file and close them one by one.