hide the current buffer when open a file
abstract window