Visual Studio Code leave split editor open when empty
You can achieve this using the workbench.editor.closeEmptyGroups
config setting.
It is not supported at the moment but you are not alone in your desire for such a feature.
https://github.com/Microsoft/vscode/issues/2755