Close file without quitting VIM application

vim

I use the :e and :w commands to edit and to write a file. I am not sure if there is "close" command to close the current file without leaving Vim?

I know that the :q command can be used to close a file, but if it is the last file, Vim is closed as well; Actually on Mac OS MacVim does quit. Only the Vim window is closed and I could use ControlN to open a blank Vim window again. I would like Vim to remain open with a blank screen.

Best Solution

This deletes the buffer (which translates to close the file)

:bd